#include <FCDGeometry.h>
Inheritance diagram for FCDGeometry:
Public Member Functions | |
FCDGeometry (FCDocument *document) | |
Contructor: do not use directly. | |
virtual | ~FCDGeometry () |
Destructor. | |
void | SetMesh (FCDGeometryMesh *data) |
[INTERNAL] Set geometry information. | |
void | SetSpline (FCDGeometrySpline *data) |
virtual Type | GetType () const |
Retrieves the entity class type. | |
bool | IsMesh () const |
Retrieves whether the type of this geometry is a mesh. | |
FCDGeometryMesh * | GetMesh () |
Retrieves the mesh information structure for this geometry. | |
const FCDGeometryMesh * | GetMesh () const |
See above. | |
FCDGeometryMesh * | CreateMesh () |
Sets the type of this geometry to mesh and creates an empty mesh structure. | |
bool | IsSpline () const |
Retrieves whether the type of this geometry is a spline. | |
FCDGeometrySpline * | GetSpline () |
Retrieves the spline information structure for this geometry. | |
const FCDGeometrySpline * | GetSpline () const |
See above. | |
FCDGeometrySpline * | CreateSpline () |
Sets the type of this geometry to spline and creates an empty spline structure. | |
bool | IsPSurface () const |
Retrieves whether the type of this geometry is a parameterized surface. | |
virtual FCDEntity * | Clone (FCDEntity *clone=NULL, bool cloneChildren=false) const |
Copies the geometry entity into a clone. |
There are three types of COLLADA geometry entities: meshes, NURBS surfaces and splines. NURBS Surfaces are part of the Premium Build only.*
Meshes are collections of polygons where the vertices always have a position, usually have a normal to define smooth or hard edges and may be colored or textured.
Parameterized surfaces (PSurface) are a list of parameterized patches defined as a sequence of weighted control points that may be associated with two knot vectors and possibly trimming curves to define a 3D surface.
Note: "PSurfaces" are part of the Premium Build only.
Splines are a sequence of control points used to generate a smooth curve.
|
Contructor: do not use directly. Create new geometries using the FCDLibrary::AddEntity function.
|
|
Copies the geometry entity into a clone. The clone may reside in another document.
Reimplemented from FCDEntity. |
|
Sets the type of this geometry to mesh and creates an empty mesh structure. This function will release any mesh or spline structure that the geometry may already contain
|
|
Sets the type of this geometry to spline and creates an empty spline structure. This function will release any mesh or spline structure that the geometry may already contain.
|
|
Retrieves the mesh information structure for this geometry. Verify that this geometry is a mesh using the IsMesh function prior to calling this function.
|
|
Retrieves the spline information structure for this geometry. Verify that this geometry is a spline using the IsSpline function prior to calling this function.
|
|
Retrieves the entity class type. This function is a part of the FCDEntity interface.
Reimplemented from FCDEntity. |
|
Retrieves whether the type of this geometry is a mesh.
|
|
Retrieves whether the type of this geometry is a parameterized surface.
|
|
Retrieves whether the type of this geometry is a spline.
|
|
[INTERNAL] Set geometry information.
|