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 Public Member Functions inherited from GEO_Primitive | |
static GA_PrimCompat::TypeMask | getPrimitiveMaskH9 (const char *maskstr) |
Static Public Member Functions inherited from GA_Primitive | |
static SYS_FORCE_INLINE GA_PrimCompat::TypeMask | primCompatMaskFromTypeId (int type_id) |
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 445 of file GEO_PrimTetra.C.
|
static |
Optional build function.
Definition at line 526 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 618 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 185 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 205 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 169 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements 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 855 of file GEO_PrimTetra.C.
|
overridevirtual |
Conversion functions
Implements GEO_Primitive.
Definition at line 838 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 490 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GEO_Primitive.
Definition at line 473 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Reimplemented from GA_Primitive.
Definition at line 507 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 811 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 242 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GA_Primitive.
Definition at line 255 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GEO_Primitive.
Definition at line 225 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 88 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 142 of file GEO_PrimTetra.h.
Finds where the specified vertex offset is in this primitive's vertex list.
Definition at line 130 of file GEO_PrimTetra.h.
|
overridevirtual |
Required interface methods
Implements GEO_Primitive.
Definition at line 435 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GA_Primitive.
Definition at line 396 of file GEO_PrimTetra.C.
|
overridevirtual |
Report approximate memory usage.
Reimplemented from GA_Primitive.
Definition at line 802 of file GEO_PrimTetra.C.
|
inlineoverridevirtual |
Implements GA_Primitive.
Definition at line 167 of file GEO_PrimTetra.h.
|
overridevirtual |
Reimplemented from GEO_Primitive.
Definition at line 884 of file GEO_PrimTetra.C.
|
overridevirtual |
Required interface methods
Implements GA_Primitive.
Definition at line 458 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 411 of file GEO_PrimTetra.C.
|
overridevirtual |
Implements GEO_Primitive.
Definition at line 872 of file GEO_PrimTetra.C.
|
overridevirtual |
Implements GEO_Primitive.
Definition at line 878 of file GEO_PrimTetra.C.
|
static |
Must be invoked during the factory callback to add us to the list of primitives
Definition at line 757 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 404 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 161 of file GEO_PrimTetra.h.