cee::geo::Data Class Referenceabstract

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...
 
- Public Member Functions inherited from cee::RefCountedObject
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...
 
Inheritance diagram for cee::geo::Data:
cee::RefCountedObject cee::geo::DataIndexedPolylines cee::geo::DataIndexedTriangles cee::geo::DataPoints cee::geo::DataTriangleFan cee::geo::DataTriangleStrip

Detailed Description

Member Enumeration Documentation

Enumerator for each of the available primitives.

Enumerator
INDEXED_TRIANGLES 

Indexed triangles.

TRIANGLE_FAN 

Triangles organized as a fan.

TRIANGLE_STRIP 

Triangles organized as a strip.

INDEXED_POLYLINES 

Indexed polylines.

POINTS 

Point cloud.

Constructor & Destructor Documentation

cee::geo::Data::Data ( )
protected

Constructs an empty part data.

Member Function Documentation

virtual cee::BoundingBox cee::geo::Data::boundingBox ( ) const
pure virtual
virtual Type cee::geo::Data::type ( ) const
pure virtual