HDK
|
#include <GEO_PrimTetra.h>
Classes | |
class | geo_SetVertexListsParallel |
Static Public Member Functions | |
static const GA_PrimitiveTypeId & | theTypeId () |
Allows you to find out what this primitive type was named. More... | |
static void | registerMyself (GA_PrimitiveFactory *factory) |
static GEO_PrimTetra * | build (GA_Detail *gdp, bool appendpts=true) |
Optional build function. More... | |
static GA_Offset | buildBlock (GA_Detail *detail, const GA_Offset startpt, const GA_Size npoints, const GA_Size ntets, const int *tetpointnumbers) |
![]() | |
static GA_PrimCompat::TypeMask | getPrimitiveMaskH9 (const char *maskstr) |
![]() | |
static SYS_FORCE_INLINE GA_PrimCompat::TypeMask | primCompatMaskFromTypeId (int type_id) |
Additional Inherited Members | |
![]() | |
enum | GA_DereferenceStatus { GA_DEREFERENCE_FAIL, GA_DEREFERENCE_OK, GA_DEREFERENCE_DEGENERATE, GA_DEREFERENCE_DESTROY } |
![]() | |
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) |
![]() | |
GA_OffsetList | myVertexList |
Definition at line 43 of file GEO_PrimTetra.h.
|
overrideprotected |
NOTE: The destructor should only be called from GA_PrimitiveList, via a GA_Primitive pointer.
Definition at line 95 of file GEO_PrimTetra.C.
NOTE: To create a new primitive owned by the detail, call GA_Detail::appendPrimitive or appendPrimitiveBlock on the detail, not this constructor.
Definition at line 86 of file GEO_PrimTetra.C.
|
overridevirtual |
Optional interface methods. Though not required, implementing these will give better behaviour for the new primitive.
Reimplemented from GEO_Primitive.
Definition at line 439 of file GEO_PrimTetra.C.
|
static |
Optional build function.
Definition at line 520 of file GEO_PrimTetra.C.
|
static |
Builds tetrahedrons using the specified range of point offsets, as dictated by ntets and tetpointnumbers, in parallel. tetpointnumbers lists the offsets of the points used by each tetrahedron MINUS startpt, i.e. they are offsets relative to startpt, not indices relative to startpt. The offset of the first tetrahedron is returned, and the rest are at consecutive offsets. All tetpointnumbers must be between 0 (inclusive) and npoints (exclusive).
NOTE: Existing primitives are allowed to be using the points in the specified range already, and the tetrahedrons being created do not do not need to use all of the points in the range. However, these cases may impact performance.
Definition at line 612 of file GEO_PrimTetra.C.
|
overridevirtual |
Optional interface methods. Though not required, implementing these will give better behaviour for the new primitive.
Reimplemented from GEO_Primitive.
Definition at line 179 of file GEO_PrimTetra.C.
|
overridevirtual |
Optional interface methods. Though not required, implementing these will give better behaviour for the new primitive.
Reimplemented from GEO_Primitive.
Definition at line 199 of file GEO_PrimTetra.C.
|
overridevirtual |
Optional interface methods. Though not required, implementing these will give better behaviour for the new primitive.
Reimplemented from GEO_Primitive.
Definition at line 163 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GEO_Primitive.
Definition at line 157 of file GEO_PrimTetra.C.
|
overridevirtual |
Conversion functions
Implements GEO_Primitive.
Definition at line 842 of file GEO_PrimTetra.C.
|
overridevirtual |
Conversion functions
Implements GEO_Primitive.
Definition at line 825 of file GEO_PrimTetra.C.
|
overridevirtual |
Though not strictly required (i.e. not pure virtual), these methods should be implemented for proper behaviour.
Reimplemented from GEO_Primitive.
Definition at line 484 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GEO_Primitive.
Definition at line 467 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Reimplemented from GA_Primitive.
Definition at line 501 of file GEO_PrimTetra.C.
|
overridevirtual |
Count memory usage using a UT_MemoryCounter in order to count shared memory correctly. NOTE: This should always include sizeof(*this).
Reimplemented from GA_Primitive.
Definition at line 798 of file GEO_PrimTetra.C.
|
protected |
Declare methods for implementing intrinsic attributes.
|
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.
Definition at line 236 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GA_Primitive.
Definition at line 249 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GEO_Primitive.
Definition at line 219 of file GEO_PrimTetra.C.
|
overridevirtual |
Evalaute a point given a u,v coordinate (with derivatives)
Implements GEO_Primitive.
Definition at line 122 of file GEO_PrimTetra.C.
|
inlineoverridevirtual |
Evalaute position given a u,v coordinate (with derivatives)
Reimplemented from GEO_Primitive.
Definition at line 87 of file GEO_PrimTetra.h.
Finds where in this primitive's vertex list, some vertex is wired to the specified point offset.
Definition at line 141 of file GEO_PrimTetra.h.
Finds where the specified vertex offset is in this primitive's vertex list.
Definition at line 129 of file GEO_PrimTetra.h.
|
overridevirtual |
Required interface methods
Implements GEO_Primitive.
Definition at line 429 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GA_Primitive.
Definition at line 390 of file GEO_PrimTetra.C.
|
overridevirtual |
Report approximate memory usage.
Reimplemented from GA_Primitive.
Definition at line 789 of file GEO_PrimTetra.C.
|
inlineoverridevirtual |
Implements GA_Primitive.
Definition at line 166 of file GEO_PrimTetra.h.
|
overridevirtual |
Reimplemented from GEO_Primitive.
Definition at line 865 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GA_Primitive.
Definition at line 452 of file GEO_PrimTetra.C.
bool HDK_Sample::GEO_PrimTetra::loadOrder | ( | const UT_JSONValue & | p | ) |
Load the order from a JSON value.
bool GEO_PrimTetra::loadVertexArray | ( | UT_JSONParser & | p, |
const GA_LoadMap & | map | ||
) |
Save/Load vertex list to a JSON stream
Definition at line 405 of file GEO_PrimTetra.C.
|
overridevirtual |
Implements GEO_Primitive.
Definition at line 859 of file GEO_PrimTetra.C.
|
static |
Must be invoked during the factory callback to add us to the list of primitives
Definition at line 751 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GEO_Primitive.
Definition at line 145 of file GEO_PrimTetra.C.
bool GEO_PrimTetra::saveVertexArray | ( | UT_JSONWriter & | w, |
const GA_SaveMap & | map | ||
) | const |
Save/Load vertex list to a JSON stream
Definition at line 398 of file GEO_PrimTetra.C.
|
overridevirtual |
Though not strictly required (i.e. not pure virtual), these methods should be implemented for proper behaviour.
Reimplemented from GA_Primitive.
Definition at line 105 of file GEO_PrimTetra.C.
|
inlinestatic |
Allows you to find out what this primitive type was named.
Definition at line 160 of file GEO_PrimTetra.h.