Data structure representing points data for a geometry part used in the GeometryModel More...
Public Member Functions | |
DataPoints () | |
Constructs an empty data object. More... | |
DataPoints (const std::vector< Vec3d > &vertices) | |
Constructs a data points object from the specified vertices. More... | |
virtual Type | type () const |
Returns Data::POINTS. More... | |
virtual BoundingBox | boundingBox () const |
Returns the bounding box of the part data. More... | |
std::vector< Vec3d > | vertices () const |
Returns array of vertices used to build up the point cloud. More... | |
void | setVertices (const std::vector< Vec3d > &vertices) |
Sets vertices of all the points. More... | |
size_t | pointCount () const |
Returns number of points. More... | |
void | removeAll () |
Clears all 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... | |
Additional Inherited Members | |
![]() | |
enum | Type { INDEXED_TRIANGLES, TRIANGLE_FAN, TRIANGLE_STRIP, INDEXED_POLYLINES, POINTS } |
Enumerator for each of the available primitives. More... | |
![]() | |
Data () | |
Constructs an empty part data. More... | |
Data structure representing points data for a geometry part used in the GeometryModel
Describes a point cloud.
cee::geo::DataPoints::DataPoints | ( | ) |
Constructs an empty data object.
cee::geo::DataPoints::DataPoints | ( | const std::vector< Vec3d > & | vertices | ) |
Constructs a data points object from the specified vertices.
|
virtual |
Returns the bounding box of the part data.
Implements cee::geo::Data.
size_t cee::geo::DataPoints::pointCount | ( | ) | const |
Returns number of points.
void cee::geo::DataPoints::removeAll | ( | ) |
Clears all data.
void cee::geo::DataPoints::setVertices | ( | const std::vector< Vec3d > & | vertices | ) |
Sets vertices of all the points.
|
virtual |
Returns Data::POINTS.
Implements cee::geo::Data.
std::vector< Vec3d > cee::geo::DataPoints::vertices | ( | ) | const |
Returns array of vertices used to build up the point cloud.