artec::sdk::base::ICompositeMesh Class Referenceabstract
#include <artec/sdk/base/ICompositeMesh.h>
Inheritance diagram for artec::sdk::base::ICompositeMesh:
Public Member Functions | |
virtual bool | isTextured () const =0 |
virtual int | getTexturesCount () const =0 |
virtual void | addTexture (ITexture *texture)=0 |
virtual ITexture * | getTexture (int index) const =0 |
virtual bool | isTriangleTextured (int i) const =0 |
virtual const ITexture * | getTriangleTexture (int i) const =0 |
virtual TriangleUV | getTriangleUV (int i) const =0 |
Return triple texture coordinates for i'th triangle of the texture. More... | |
virtual void | getTexturedTriangles (const IArrayInt **triangleIndices, const IArrayInt **textureIndices) const =0 |
Access other data. More... | |
virtual const IArrayInt * | getUntexturedTriangles () const =0 |
virtual ErrorCode | validateTextures (bool clearEmpty=true)=0 |
Public Member Functions inherited from artec::sdk::base::IMesh | |
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 |
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
Definition at line 31 of file ICompositeMesh.h.
Member Function Documentation
|
pure virtual |
|
pure virtual |
|
pure virtual |
Access other data.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Return triple texture coordinates for i'th triangle of the texture.
|
pure virtual |
|
pure virtual |
Textures access
|
pure virtual |
Texture index related functions Return texture status for i'th triangle of the mesh
|
pure virtual |
Collect textured triangles indices.
- Parameters
-
clearEmpty - delete texture if UV coordinates or texture image empty.
The documentation for this class was generated from the following file:
- artec/sdk/base/ICompositeMesh.h