|
enum | RenderMode { PER_FACE,
PER_GLYPH
} |
|
enum | CharacterSizeMode { OBJECT_COORDS,
SCREEN_COORDS,
OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT
} |
|
enum | AlignmentType {
LEFT_TOP,
LEFT_CENTER,
LEFT_BOTTOM,
CENTER_TOP,
CENTER_CENTER,
CENTER_BOTTOM,
RIGHT_TOP,
RIGHT_CENTER,
RIGHT_BOTTOM,
LEFT_BASE_LINE,
CENTER_BASE_LINE,
RIGHT_BASE_LINE,
LEFT_BOTTOM_BASE_LINE,
CENTER_BOTTOM_BASE_LINE,
RIGHT_BOTTOM_BASE_LINE,
BASE_LINE = LEFT_BASE_LINE
} |
|
enum | AxisAlignment {
XY_PLANE,
REVERSED_XY_PLANE,
XZ_PLANE,
REVERSED_XZ_PLANE,
YZ_PLANE,
REVERSED_YZ_PLANE,
SCREEN,
USER_DEFINED_ROTATION
} |
|
enum | Layout { LEFT_TO_RIGHT,
RIGHT_TO_LEFT,
VERTICAL
} |
|
enum | DrawModeMask { TEXT = 1,
BOUNDINGBOX = 2,
FILLEDBOUNDINGBOX = 4,
ALIGNMENT = 8
} |
|
enum | AttributeTypes {
VERTICES = 0,
WEIGHTS = 1,
NORMALS = 2,
COLORS = 3,
SECONDARY_COLORS = 4,
FOG_COORDS = 5,
ATTRIBUTE_6 = 6,
ATTRIBUTE_7 = 7,
TEXTURE_COORDS = 8,
TEXTURE_COORDS_0 = TEXTURE_COORDS,
TEXTURE_COORDS_1 = TEXTURE_COORDS_0+1,
TEXTURE_COORDS_2 = TEXTURE_COORDS_0+2,
TEXTURE_COORDS_3 = TEXTURE_COORDS_0+3,
TEXTURE_COORDS_4 = TEXTURE_COORDS_0+4,
TEXTURE_COORDS_5 = TEXTURE_COORDS_0+5,
TEXTURE_COORDS_6 = TEXTURE_COORDS_0+6,
TEXTURE_COORDS_7 = TEXTURE_COORDS_0+7
} |
|
typedef std::vector< Node * > | ParentList |
|
typedef unsigned int | AttributeType |
|
enum | DataVariance { DYNAMIC,
STATIC,
UNSPECIFIED
} |
|
|
| Text3D () |
|
| Text3D (const Text3D &text, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
|
| META_Object (osgText, Text3D) float getCharacterDepth() const |
|
void | setCharacterDepth (float characterDepth) |
|
RenderMode | getRenderMode () const |
|
void | setRenderMode (RenderMode renderMode) |
|
osg::StateSet * | getWallStateSet () |
|
const osg::StateSet * | getWallStateSet () const |
|
osg::StateSet * | getOrCreateWallStateSet () |
|
void | setWallStateSet (osg::StateSet *wallStateSet) |
|
osg::StateSet * | getBackStateSet () |
|
osg::StateSet * | getBackStateSet () const |
|
osg::StateSet * | getOrCreateBackStateSet () |
|
void | setBackStateSet (osg::StateSet *backStateSet) |
|
virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
|
virtual bool | supports (const osg::Drawable::AttributeFunctor &) const |
|
virtual bool | supports (const osg::Drawable::ConstAttributeFunctor &) const |
|
virtual void | accept (osg::Drawable::ConstAttributeFunctor &af) const |
|
virtual bool | supports (const osg::PrimitiveFunctor &) const |
|
virtual void | accept (osg::PrimitiveFunctor &pf) const |
|
virtual void | setThreadSafeRefUnref (bool threadSafe) |
|
virtual void | resizeGLObjectBuffers (unsigned int maxSize) |
|
virtual void | releaseGLObjects (osg::State *state=0) const |
|
virtual osg::BoundingBox | computeBound () const |
|
| TextBase () |
|
| TextBase (const TextBase &text, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
|
virtual bool | isSameKindAs (const osg::Object *obj) const |
|
virtual const char * | className () const |
|
virtual const char * | libraryName () const |
|
void | setColor (const osg::Vec4 &color) |
|
const osg::Vec4 & | getColor () const |
|
virtual void | setFont (Font *font=0) |
|
virtual void | setFont (osg::ref_ptr< Font > font) |
|
virtual void | setFont (const std::string &fontfile) |
|
const Font * | getFont () const |
|
void | setStyle (Style *style) |
|
Style * | getStyle () |
|
const Style * | getStyle () const |
|
Style * | getOrCreateStyle () |
|
void | setFontResolution (unsigned int width, unsigned int height) |
|
unsigned int | getFontWidth () const |
|
unsigned int | getFontHeight () const |
|
void | setText (const String &text) |
|
void | setText (const std::string &text) |
|
void | setText (const std::string &text, String::Encoding encoding) |
|
void | setText (const wchar_t *text) |
|
String & | getText () |
|
const String & | getText () const |
|
void | update () |
|
void | setCharacterSize (float height) |
|
void | setCharacterSize (float height, float aspectRatio) |
|
float | getCharacterHeight () const |
|
float | getCharacterAspectRatio () const |
|
void | setCharacterSizeMode (CharacterSizeMode mode) |
|
CharacterSizeMode | getCharacterSizeMode () const |
|
void | setMaximumWidth (float maximumWidth) |
|
float | getMaximumWidth () const |
|
void | setMaximumHeight (float maximumHeight) |
|
float | getMaximumHeight () const |
|
void | setLineSpacing (float lineSpacing) |
|
float | getLineSpacing () const |
|
void | setPosition (const osg::Vec3 &pos) |
|
const osg::Vec3 & | getPosition () const |
|
void | setAlignment (AlignmentType alignment) |
|
AlignmentType | getAlignment () const |
|
void | setAxisAlignment (AxisAlignment axis) |
|
AxisAlignment | getAxisAlignment () const |
|
void | setRotation (const osg::Quat &quat) |
|
const osg::Quat & | getRotation () const |
|
void | setAutoRotateToScreen (bool autoRotateToScreen) |
|
bool | getAutoRotateToScreen () const |
|
void | setLayout (Layout layout) |
|
Layout | getLayout () const |
|
void | setDrawMode (unsigned int mode) |
|
unsigned int | getDrawMode () const |
|
void | setBoundingBoxMargin (float margin) |
|
float | getBoundingBoxMargin () const |
|
void | setBoundingBoxColor (const osg::Vec4 &color) |
|
const osg::Vec4 & | getBoundingBoxColor () const |
|
void | setKerningType (KerningType kerningType) |
|
KerningType | getKerningType () const |
|
unsigned int | getLineCount () const |
|
| Drawable () |
|
| Drawable (const Drawable &drawable, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
|
virtual Geometry * | asGeometry () |
|
virtual const Geometry * | asGeometry () const |
|
virtual void | computeDataVariance () |
|
const ParentList & | getParents () const |
|
ParentList | getParents () |
|
Node * | getParent (unsigned int i) |
|
const Node * | getParent (unsigned int i) const |
|
unsigned int | getNumParents () const |
|
MatrixList | getWorldMatrices (const osg::Node *haltTraversalAtNode=0) const |
|
void | setStateSet (StateSet *stateset) |
|
StateSet * | getStateSet () |
|
const StateSet * | getStateSet () const |
|
StateSet * | getOrCreateStateSet () |
|
void | setInitialBound (const osg::BoundingBox &bbox) |
|
const BoundingBox & | getInitialBound () const |
|
void | dirtyBound () |
|
const BoundingBox & | getBound () const |
|
void | setComputeBoundingBoxCallback (ComputeBoundingBoxCallback *callback) |
|
ComputeBoundingBoxCallback * | getComputeBoundingBoxCallback () |
|
const ComputeBoundingBoxCallback * | getComputeBoundingBoxCallback () const |
|
void | setShape (Shape *shape) |
|
Shape * | getShape () |
|
const Shape * | getShape () const |
|
void | setSupportsDisplayList (bool flag) |
|
bool | getSupportsDisplayList () const |
|
void | setUseDisplayList (bool flag) |
|
bool | getUseDisplayList () const |
|
GLuint & | getDisplayList (unsigned int contextID) const |
|
virtual void | setUseVertexBufferObjects (bool flag) |
|
bool | getUseVertexBufferObjects () const |
|
virtual void | dirtyDisplayList () |
|
virtual unsigned int | getGLObjectSizeHint () const |
|
void | draw (RenderInfo &renderInfo) const |
|
virtual void | compileGLObjects (RenderInfo &renderInfo) const |
|
virtual void | setUpdateCallback (UpdateCallback *ac) |
|
UpdateCallback * | getUpdateCallback () |
|
const UpdateCallback * | getUpdateCallback () const |
|
bool | requiresUpdateTraversal () const |
|
virtual void | setEventCallback (EventCallback *ac) |
|
EventCallback * | getEventCallback () |
|
const EventCallback * | getEventCallback () const |
|
bool | requiresEventTraversal () const |
|
virtual void | setCullCallback (CullCallback *cc) |
|
CullCallback * | getCullCallback () |
|
const CullCallback * | getCullCallback () const |
|
virtual void | setDrawCallback (DrawCallback *dc) |
|
DrawCallback * | getDrawCallback () |
|
const DrawCallback * | getDrawCallback () const |
|
virtual void | accept (AttributeFunctor &) |
|
virtual bool | supports (const PrimitiveIndexFunctor &) const |
|
virtual void | accept (PrimitiveIndexFunctor &) const |
|
| Object () |
|
| Object (bool threadSafeRefUnref) |
|
| Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
|
virtual Object * | cloneType () const =0 |
|
virtual Object * | clone (const CopyOp &) const =0 |
|
virtual void | setName (const std::string &name) |
|
void | setName (const char *name) |
|
const std::string & | getName () const |
|
void | setDataVariance (DataVariance dv) |
|
DataVariance | getDataVariance () const |
|
void | setUserDataContainer (osg::UserDataContainer *udc) |
|
osg::UserDataContainer * | getUserDataContainer () |
|
const osg::UserDataContainer * | getUserDataContainer () const |
|
osg::UserDataContainer * | getOrCreateUserDataContainer () |
|
virtual void | setUserData (Referenced *obj) |
|
virtual Referenced * | getUserData () |
|
virtual const Referenced * | getUserData () const |
|
template<typename T > |
bool | getUserValue (const std::string &name, T &value) const |
|
template<typename T > |
void | setUserValue (const std::string &name, const T &value) |
|
template<typename T > |
BoolValueObject
UCharValueObject
UShortValueObject
UIntValueObject
DoubleValueObject
Vec3fValueObject
Vec2dValueObject
Vec4dValueObject
PlaneValueObject
MatrixdValueObject bool | getUserValue (const std::string &name, T &value) const |
|
| Referenced () |
|
| Referenced (bool threadSafeRefUnref) |
|
| Referenced (const Referenced &) |
|
Referenced & | operator= (const Referenced &) |
|
bool | getThreadSafeRefUnref () const |
|
OpenThreads::Mutex * | getRefMutex () const |
|
int | ref () const |
|
int | unref () const |
|
int | unref_nodelete () const |
|
int | referenceCount () const |
|
ObserverSet * | getObserverSet () const |
|
ObserverSet * | getOrCreateObserverSet () const |
|
void | addObserver (Observer *observer) const |
|
void | removeObserver (Observer *observer) const |
|