artec::sdk::base::IMesh Class Referenceabstract

#include <artec/sdk/base/IMesh.h>

+ Inheritance diagram for artec::sdk::base::IMesh:

Public Member Functions

virtual IArrayPoint3FgetPoints () const =0
 Data access functions. More...
 
virtual void setPoints (IArrayPoint3F *points)=0
 
virtual IArrayIndexTripletgetTriangles () const =0
 
virtual void setTriangles (IArrayIndexTriplet *triangles)=0
 
virtual IArrayPoint3FgetPointsNormals () const =0
 
virtual void setPointsNormals (IArrayPoint3F *normals)=0
 
virtual IArrayPoint3FgetTrianglesNormals () 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 &center)=0
 
virtual const IArrayPoint3FgetTrianglesCenters () const =0
 Calculated data access functions. More...
 
virtual const IArrayPoint3FgetTrianglesAngles () const =0
 
virtual const IArrayFloatgetTrianglesAreas () const =0
 
virtual const IArrayPoint3FgetEdgeLengths () 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

Definition at line 24 of file IMesh.h.

Member Function Documentation

virtual unsigned int artec::sdk::base::IMesh::calculate ( unsigned int  requested_mode,
unsigned int  recreate_mode = CM_None 
)
pure virtual

Create calculated data.

virtual void artec::sdk::base::IMesh::clear ( int  requested_mode = CM_ClearEverything)
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
virtual unsigned int artec::sdk::base::IMesh::getCalculated ( )
pure virtual
virtual const IArrayPoint3F* artec::sdk::base::IMesh::getEdgeLengths ( ) const
pure virtual
virtual void* artec::sdk::base::IMesh::getInternalData ( ) const
pure virtual
virtual IArrayPoint3F* artec::sdk::base::IMesh::getPoints ( ) const
pure virtual

Data access functions.

virtual IArrayPoint3F* artec::sdk::base::IMesh::getPointsNormals ( ) const
pure virtual
virtual Triangle artec::sdk::base::IMesh::getTriangle ( int  i) const
pure virtual

Return points coordinates for i'th triangle.

virtual IArrayIndexTriplet* artec::sdk::base::IMesh::getTriangles ( ) const
pure virtual
virtual const IArrayPoint3F* artec::sdk::base::IMesh::getTrianglesAngles ( ) const
pure virtual
virtual const IArrayFloat* artec::sdk::base::IMesh::getTrianglesAreas ( ) const
pure virtual
virtual const IArrayPoint3F* artec::sdk::base::IMesh::getTrianglesCenters ( ) const
pure virtual

Calculated data access functions.

virtual IArrayPoint3F* artec::sdk::base::IMesh::getTrianglesNormals ( ) const
pure virtual
virtual bool artec::sdk::base::IMesh::hasEdgeLengths ( ) const
pure virtual
virtual bool artec::sdk::base::IMesh::hasNormals ( ) const
pure virtual
virtual bool artec::sdk::base::IMesh::hasPointsNormals ( ) const
pure virtual
virtual bool artec::sdk::base::IMesh::hasTrianglesAngles ( ) const
pure virtual
virtual bool artec::sdk::base::IMesh::hasTrianglesAreas ( ) const
pure virtual
virtual bool artec::sdk::base::IMesh::hasTrianglesCenters ( ) const
pure virtual
virtual bool artec::sdk::base::IMesh::hasTrianglesNormals ( ) const
pure virtual
virtual bool artec::sdk::base::IMesh::isEmpty ( ) const
pure virtual

Check if mesh empty.

virtual void artec::sdk::base::IMesh::rotate ( const Matrix4x4D matrix)
pure virtual

Rotation.

virtual void artec::sdk::base::IMesh::scale ( float  factor)
pure virtual

Scale.

virtual void artec::sdk::base::IMesh::scale ( float  factor,
const Point3F center 
)
pure virtual
virtual void artec::sdk::base::IMesh::setInternalData ( void *  p)
pure virtual

set/get some internal data for compatibility with existing code

virtual void artec::sdk::base::IMesh::setPoints ( IArrayPoint3F points)
pure virtual
virtual void artec::sdk::base::IMesh::setPointsNormals ( IArrayPoint3F normals)
pure virtual
virtual void artec::sdk::base::IMesh::setTriangles ( IArrayIndexTriplet triangles)
pure virtual
virtual void artec::sdk::base::IMesh::setTrianglesNormals ( IArrayPoint3F normals)
pure virtual
virtual void artec::sdk::base::IMesh::transform ( const Matrix4x4D matrix)
pure virtual

Full transformation (motion - scale)

virtual void artec::sdk::base::IMesh::translate ( const Point3F direction)
pure virtual

Translation.


The documentation for this class was generated from the following file: