artec::sdk::base::IMesh Class Referenceabstract
#include <artec/sdk/base/IMesh.h>
Inheritance diagram for artec::sdk::base::IMesh:
Public Member Functions | |
virtual IArrayPoint3F * | getPoints () const =0 |
Data access functions. More... | |
virtual void | setPoints (IArrayPoint3F *points)=0 |
virtual IArrayIndexTriplet * | getTriangles () const =0 |
virtual void | setTriangles (IArrayIndexTriplet *triangles)=0 |
virtual IArrayPoint3F * | getPointsNormals () const =0 |
virtual void | setPointsNormals (IArrayPoint3F *normals)=0 |
virtual IArrayPoint3F * | getTrianglesNormals () const =0 |
virtual void | setTrianglesNormals (IArrayPoint3F *normals)=0 |
virtual Triangle | getTriangle (int i) const =0 |
Return points coordinates for i'th triangle. More... | |
virtual unsigned int | calculate (unsigned int requested_mode, unsigned int recreate_mode=CM_None)=0 |
Create calculated data. More... | |
virtual unsigned int | getCalculated ()=0 |
virtual void | clear (int requested_mode=CM_ClearEverything)=0 |
virtual void | transform (const Matrix4x4D &matrix)=0 |
Full transformation (motion - scale) More... | |
virtual void | translate (const Point3F &direction)=0 |
Translation. More... | |
virtual void | rotate (const Matrix4x4D &matrix)=0 |
Rotation. More... | |
virtual void | scale (float factor)=0 |
Scale. More... | |
virtual void | scale (float factor, const Point3F ¢er)=0 |
virtual const IArrayPoint3F * | getTrianglesCenters () const =0 |
Calculated data access functions. More... | |
virtual const IArrayPoint3F * | getTrianglesAngles () const =0 |
virtual const IArrayFloat * | getTrianglesAreas () const =0 |
virtual const IArrayPoint3F * | getEdgeLengths () const =0 |
virtual bool | isEmpty () const =0 |
Check if mesh empty. More... | |
virtual void | setInternalData (void *p)=0 |
set/get some internal data for compatibility with existing code More... | |
virtual void * | getInternalData () const =0 |
Check calculated data existence | |
virtual bool | hasNormals () const =0 |
virtual bool | hasPointsNormals () const =0 |
virtual bool | hasTrianglesNormals () const =0 |
virtual bool | hasTrianglesCenters () const =0 |
virtual bool | hasTrianglesAngles () const =0 |
virtual bool | hasTrianglesAreas () const =0 |
virtual bool | hasEdgeLengths () const =0 |
Public Member Functions inherited from artec::sdk::base::IRevision | |
virtual bool | wasChanged (unsigned int rev) const =0 |
Check object changed (true if changed) More... | |
virtual unsigned int | incRevision ()=0 |
Increment object revision. More... | |
virtual unsigned int | getRevision () const =0 |
Get object revision. More... | |
Public Member Functions inherited from artec::sdk::base::IRef | |
virtual int | addRef () const =0 |
virtual int | release () const =0 |
Detailed Description
Member Function Documentation
|
pure virtual |
Create calculated data.
|
pure virtual |
Clear unneeded data from mesh. Will not cause dependent data to be cleared.
- Parameters
-
requested_mode - request to clear information. Modes can be combined
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Data access functions.
|
pure virtual |
|
pure virtual |
Return points coordinates for i'th triangle.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Calculated data access functions.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Check if mesh empty.
|
pure virtual |
Rotation.
|
pure virtual |
Scale.
|
pure virtual |
|
pure virtual |
set/get some internal data for compatibility with existing code
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Full transformation (motion - scale)
|
pure virtual |
Translation.
The documentation for this class was generated from the following file:
- artec/sdk/base/IMesh.h