Base class for all geometry part data classes. More...
Public Types | |
enum | Type { INDEXED_TRIANGLES, TRIANGLE_FAN, TRIANGLE_STRIP, INDEXED_POLYLINES, POINTS } |
Enumerator for each of the available primitives. More... | |
Public Member Functions | |
virtual Type | type () const =0 |
Returns the primitive type of the associated data. More... | |
virtual cee::BoundingBox | boundingBox () const =0 |
Returns the bounding box of the associated data. More... | |
![]() | |
void | addRef () const |
Increments the reference count for this object. More... | |
void | release () const |
Decrements the reference count for this object. More... | |
int | refCount () const |
Returns the reference count for this object. More... | |
void | setRefCountZero () const |
Sets the ref count to zero, but DOES NOT delete the object. More... | |
Protected Member Functions | |
Data () | |
Constructs an empty part data. More... | |
Base class for all geometry part data classes.
enum cee::geo::Data::Type |
|
protected |
Constructs an empty part data.
|
pure virtual |
Returns the bounding box of the associated data.
Implemented in cee::geo::DataIndexedPolylines, cee::geo::DataIndexedTriangles, cee::geo::DataPoints, cee::geo::DataTriangleFan, and cee::geo::DataTriangleStrip.
|
pure virtual |
Returns the primitive type of the associated data.
Implemented in cee::geo::DataIndexedPolylines, cee::geo::DataIndexedTriangles, cee::geo::DataPoints, cee::geo::DataTriangleFan, and cee::geo::DataTriangleStrip.