HDK
|
#include <GEO_PrimPacked.h>
Protected Attributes | |
UT_Vector3 | myPivot |
GEO_ViewportLOD | myViewportLOD |
UT_Matrix3D | myLocalTransform |
![]() | |
GA_OffsetList | myVertexList |
static const UT_StringHolder | theDefaultFacesetAttribute |
virtual void | setFacesetAttribute (const UT_StringHolder &s)=0 |
virtual const UT_StringHolder & | facesetAttribute () const =0 |
Additional Inherited Members | |
![]() | |
enum | GA_DereferenceStatus { GA_DEREFERENCE_FAIL, GA_DEREFERENCE_OK, GA_DEREFERENCE_DEGENERATE, GA_DEREFERENCE_DESTROY } |
![]() | |
static GA_PrimCompat::TypeMask | getPrimitiveMaskH9 (const char *maskstr) |
![]() | |
static SYS_FORCE_INLINE GA_PrimCompat::TypeMask | primCompatMaskFromTypeId (int type_id) |
![]() | |
static const UT_Array < GA_AttribSaveDataH9 > & | theEmptySaveAttribs |
Convience objects to pass as arguments to saveH9()/loadH9(). More... | |
![]() | |
static GA_IntrinsicManager::Registrar | registerIntrinsics (GA_PrimitiveDefinition &defn) |
Definition at line 26 of file GEO_PrimPacked.h.
GEO_PrimPacked::GEO_PrimPacked | ( | GEO_Detail * | d, |
GA_Offset | offset = GA_INVALID_OFFSET |
||
) |
The primitive takes ownership if the procedural
passed in.
|
override |
This needs to be outlined in order to avoid including GEO_PackedNameMap.h.
Called when loading to set the vertex.
|
virtual |
Sub-classes should make sure to call the base class dirty methods
Reimplemented in GU_PrimPacked.
|
pure virtual |
Attribute name mappings (Alembic only)
Implemented in GU_PrimPacked.
|
overridevirtual |
Required interface methods for GEO primitive
Reimplemented from GEO_Primitive.
|
overridepure virtual |
Required interface methods for GEO primitive
Reimplemented from GEO_Primitive.
Implemented in GU_PrimPacked.
|
overridepure virtual |
Required interface methods for GEO primitive
Reimplemented from GEO_Primitive.
Implemented in GU_PrimPacked.
|
overridepure virtual |
Required interface methods for GEO primitive
Reimplemented from GEO_Primitive.
Implemented in GU_PrimPacked.
|
overridevirtual |
Required interface methods for GEO primitive
Implements GEO_Primitive.
|
overridevirtual |
Required interface methods for GEO primitive
Reimplemented from GEO_Primitive.
|
pure virtual |
Required interface methods for GEO primitive
Implemented in GU_PrimPacked.
void GEO_PrimPacked::copyMemberDataFrom | ( | const GEO_PrimPacked & | src | ) |
Copies the member data of the source packed primitive into this. This does not modify the vertex list or any attributes.
|
overridevirtual |
Required interface methods for GEO primitive
Implements GEO_Primitive.
|
overridevirtual |
Required interface methods for GEO primitive
Reimplemented from GA_Primitive.
|
overridevirtual |
Before a point is deleted, all primitives using the point will be notified. The method should return "false" if it's impossible to delete the point. Otherwise, the vertices should be removed.
Implements GA_Primitive.
|
overridevirtual |
Required interface methods for GEO primitive
Implements GA_Primitive.
|
overridevirtual |
Required interface methods for GEO primitive
Implements GEO_Primitive.
|
overridevirtual |
Required interface methods for GEO primitive
Reimplemented from GA_Primitive.
|
overrideprotectedvirtual |
Reimplemented from GEO_Primitive.
|
overridevirtual |
Evalaute a point given a u,v coordinate (with derivatives)
Implements GEO_Primitive.
|
inlineoverridevirtual |
Evalaute position given a u,v coordinate (with derivatives)
Reimplemented from GEO_Primitive.
Definition at line 71 of file GEO_PrimPacked.h.
|
pure virtual |
Faceset name attribute (Alembic only)
Implemented in GU_PrimPacked.
|
overridevirtual |
Required interface methods for GEO primitive
Implements GEO_Primitive.
|
pure virtual |
Return the full transform matrix for the primitive. This includes the local transform combined with any additional transforms which might be implicit to the primitive. The default behaviour is to simply call getLocalTransform4()
;
Implemented in GU_PrimPacked.
|
overridevirtual |
Required interface methods for GEO primitive
Implements GA_Primitive.
|
overridevirtual |
Required interface methods for GEO primitive
Reimplemented from GA_Primitive.
|
virtual |
Required interface methods for GEO primitive
bool GEO_PrimPacked::getRenderingBounds | ( | UT_BoundingBox & | box | ) | const |
Method to assist with rendering. To get accurate bounding boxes for rendering, the "width" of points and curve objects needs to be taken into account. These bounds will include the transform on the primitive.
Returns false if the bounds are invalid.
|
pure virtual |
Get the un-transformed bounding box
Implemented in GU_PrimPacked.
|
pure virtual |
Get the un-transformed bounding box
Implemented in GU_PrimPacked.
|
pure virtual |
Get the un-transformed bounding box
Implemented in GU_PrimPacked.
|
overridepure virtual |
|
pure virtual |
Implemented in GU_PrimPacked.
|
pure virtual |
Implemented in GU_PrimPacked.
|
pure virtual |
Implemented in GU_PrimPacked.
|
pure virtual |
Implemented in GU_PrimPacked.
|
inline |
Fast access to local transform.
Definition at line 139 of file GEO_PrimPacked.h.
|
inline |
Fast access to pivot transform.
Definition at line 142 of file GEO_PrimPacked.h.
|
inline |
Definition at line 143 of file GEO_PrimPacked.h.
|
overridepure virtual |
Any sub-classes must call the GEO method for shared load data since name maps are saved as shared data.
The sub-classes cannot use GEO_SHARED_DATA_NAMEMAP as a key. However, GU_PrimPacked handles it in registerSharedLoadData, since it needs access to the GU_PackedImpl anyway.
Reimplemented from GA_Primitive.
Implemented in GU_PrimPacked.
|
inlineoverridevirtual |
Required interface methods for GEO primitive
Implements GEO_Primitive.
Definition at line 41 of file GEO_PrimPacked.h.
|
pure virtual |
Implemented in GU_PrimPacked.
|
overridevirtual |
Any sub-classes must call the GEO method for shared load data since name maps are saved as shared data.
The sub-classes cannot use GEO_SHARED_DATA_NAMEMAP as a key. However, GU_PrimPacked handles it in registerSharedLoadData, since it needs access to the GU_PackedImpl anyway.
Reimplemented from GA_Primitive.
Reimplemented in GU_PrimPacked.
|
pure virtual |
Attribute name mappings (Alembic only)
Implemented in GU_PrimPacked.
|
pure virtual |
Faceset name attribute (Alembic only)
Implemented in GU_PrimPacked.
|
overridevirtual |
Required interface methods for GEO primitive
Reimplemented from GA_Primitive.
|
virtual |
Required interface methods for GEO primitive
|
inline |
Method to assist with rendering. When rendering velocity based motion blur, the renderer needs to know the bounds on the velocity to accurately compute a bounding box.
These velocities will not include any scales applied by the transform Set vertex to reference the given point. This will ensure the vertex is allocated.
Definition at line 122 of file GEO_PrimPacked.h.
void GEO_PrimPacked::setViewportLOD | ( | GEO_ViewportLOD | vlod | ) |
Accessors for viewport LOD
|
overridevirtual |
Required interface methods for GEO primitive
Reimplemented from GA_Primitive.
Reimplemented in GU_PrimPacked.
|
pure virtual |
Implemented in GU_PrimPacked.
|
virtual |
Sub-classes should make sure to call the base class dirty methods
Reimplemented in GU_PrimPacked.
|
overridepure virtual |
Required interface methods for GEO primitive
Reimplemented from GEO_Primitive.
Implemented in GU_PrimPacked.
|
virtual |
Sub-classes should make sure to call the base class dirty methods
Reimplemented in GU_PrimPacked.
|
inline |
Accessors for viewport LOD
Definition at line 134 of file GEO_PrimPacked.h.
|
protected |
Definition at line 204 of file GEO_PrimPacked.h.
|
protected |
Definition at line 202 of file GEO_PrimPacked.h.
|
protected |
Definition at line 203 of file GEO_PrimPacked.h.
|
static |
Faceset name attribute (Alembic only)
Definition at line 195 of file GEO_PrimPacked.h.