cee::geo::DataPoints Class Reference

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< Vec3dvertices () 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...
 
- 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...
 

Additional Inherited Members

- Public Types inherited from cee::geo::Data
enum  Type {
  INDEXED_TRIANGLES, TRIANGLE_FAN, TRIANGLE_STRIP, INDEXED_POLYLINES,
  POINTS
}
 Enumerator for each of the available primitives. More...
 
- Protected Member Functions inherited from cee::geo::Data
 Data ()
 Constructs an empty part data. More...
 
Inheritance diagram for cee::geo::DataPoints:
cee::geo::Data cee::RefCountedObject

Detailed Description

Data structure representing points data for a geometry part used in the GeometryModel

Describes a point cloud.

See also
cee::geo::GeometryModel
cee::geo::Part
cee::geo::Data

Constructor & Destructor Documentation

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.

Member Function Documentation

cee::BoundingBox cee::geo::DataPoints::boundingBox ( ) const
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.

See also
vertices
Data::Type cee::geo::DataPoints::type ( ) const
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.

See also
setVertices