OSG
3.4.0
|
#include <MorphGeometry.h>
Classes | |
class | MorphTarget |
Public Types | |
enum | Method { NORMALIZED, RELATIVE } |
typedef std::vector< MorphTarget > | MorphTargetList |
![]() | |
enum | AttributeBinding { BIND_OFF =0, BIND_OVERALL =1, BIND_PER_PRIMITIVE_SET =2, BIND_PER_VERTEX =4 } |
typedef std::vector < osg::ref_ptr< osg::Array > > | ArrayList |
typedef std::vector< ref_ptr < PrimitiveSet > > | PrimitiveSetList |
typedef std::vector < osg::DrawElements * > | DrawElementsList |
![]() | |
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 unsigned int | AttributeType |
![]() | |
typedef std::vector< Group * > | ParentList |
typedef unsigned int | NodeMask |
typedef std::vector< std::string > | DescriptionList |
![]() | |
enum | DataVariance { DYNAMIC, STATIC, UNSPECIFIED } |
Additional Inherited Members | |
![]() | |
static GLuint | generateDisplayList (unsigned int contextID, unsigned int sizeHint=0) |
static void | setMinimumNumberOfDisplayListsToRetainInCache (unsigned int minimum) |
static unsigned int | getMinimumNumberOfDisplayListsToRetainInCache () |
static void | deleteDisplayList (unsigned int contextID, GLuint globj, unsigned int sizeHint=0) |
static void | flushAllDeletedDisplayLists (unsigned int contextID) |
static void | discardAllDeletedDisplayLists (unsigned int contextID) |
static void | flushDeletedDisplayLists (unsigned int contextID, double &availableTime) |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
static unsigned int | s_numberDrawablesReusedLastInLastFrame |
static unsigned int | s_numberNewDrawablesInLastFrame |
static unsigned int | s_numberDeletedDrawablesInLastFrame |
![]() | |
typedef osg::buffered_value < GLuint > | GLObjectList |
![]() | |
Geometry & | operator= (const Geometry &) |
virtual | ~Geometry () |
void | addVertexBufferObjectIfRequired (osg::Array *array) |
void | addElementBufferObjectIfRequired (osg::PrimitiveSet *primitiveSet) |
![]() | |
Drawable & | operator= (const Drawable &) |
virtual | ~Drawable () |
void | setBound (const BoundingBox &bb) const |
![]() | |
virtual | ~Node () |
void | addParent (osg::Group *parent) |
void | removeParent (osg::Group *parent) |
void | setNumChildrenRequiringUpdateTraversal (unsigned int num) |
void | setNumChildrenRequiringEventTraversal (unsigned int num) |
void | setNumChildrenWithCullingDisabled (unsigned int num) |
void | setNumChildrenWithOccluderNodes (unsigned int num) |
![]() | |
virtual | ~Object () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Definition at line 25 of file MorphGeometry.h.
typedef std::vector<MorphTarget> osgAnimation::MorphGeometry::MorphTargetList |
Definition at line 49 of file MorphGeometry.h.
Enumerator | |
---|---|
NORMALIZED | |
RELATIVE |
Definition at line 30 of file MorphGeometry.h.
osgAnimation::MorphGeometry::MorphGeometry | ( | ) |
osgAnimation::MorphGeometry::MorphGeometry | ( | const osg::Geometry & | b | ) |
osgAnimation::MorphGeometry::MorphGeometry | ( | const MorphGeometry & | b, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
|
inlinevirtual |
Add a MorphTarget
to the MorphGeometry
. If MorphTarget
is not NULL
and is not contained in the MorphGeometry
then increment its reference count, add it to the MorphTargets list and dirty the bounding sphere to force it to be recomputed on the next call to getBound()
.
morphTarget | The MorphTarget to be added to the MorphGeometry . |
weight | The weight to be added to the MorphGeometry . |
true
for success; false
otherwise. Definition at line 82 of file MorphGeometry.h.
|
inlinevirtual |
return the name of the node's class type.
Reimplemented from osg::Node.
Definition at line 59 of file MorphGeometry.h.
|
inlinevirtual |
return a clone of a node, with Object* return type.
Reimplemented from osg::Node.
Definition at line 56 of file MorphGeometry.h.
|
inlinevirtual |
clone an object of the same type as the node.
Reimplemented from osg::Node.
Definition at line 55 of file MorphGeometry.h.
|
inline |
Set the MorphGeometry dirty.
Definition at line 94 of file MorphGeometry.h.
|
inline |
Get the morphing method.
Definition at line 66 of file MorphGeometry.h.
|
inline |
Get the flag for morphing normals.
Definition at line 71 of file MorphGeometry.h.
|
inline |
Return the MorphTarget
at position i
.
Definition at line 103 of file MorphGeometry.h.
|
inline |
Return the MorphTarget
at position i
.
Definition at line 106 of file MorphGeometry.h.
|
inline |
Get the list of MorphTargets.
Definition at line 97 of file MorphGeometry.h.
|
inline |
Get the list of MorphTargets. Warning if you modify this array you will have to call dirty()
Definition at line 100 of file MorphGeometry.h.
|
inlinevirtual |
return true if this and obj are of the same kind of object.
Reimplemented from osg::Node.
Definition at line 57 of file MorphGeometry.h.
|
inlinevirtual |
return the name of the node's library.
Reimplemented from osg::Node.
Definition at line 58 of file MorphGeometry.h.
|
inline |
Set the morphing method.
Definition at line 64 of file MorphGeometry.h.
|
inline |
Set flag for morphing normals.
Definition at line 69 of file MorphGeometry.h.
|
inline |
Definition at line 84 of file MorphGeometry.h.
|
virtual |
|
protected |
Do we need to recalculate the morphed geometry?
Definition at line 110 of file MorphGeometry.h.
|
protected |
Definition at line 112 of file MorphGeometry.h.
|
protected |
Do we also morph between normals?
Definition at line 119 of file MorphGeometry.h.
|
protected |
Definition at line 113 of file MorphGeometry.h.
|
protected |
Definition at line 116 of file MorphGeometry.h.
|
protected |
Definition at line 115 of file MorphGeometry.h.