11 #ifndef _ICOMPOSITEMESH_H_
12 #define _ICOMPOSITEMESH_H_
18 namespace artec {
namespace sdk {
namespace base
33 createCompositeMesh(ICompositeMesh** mesh,
int vertexCount = 0,
int triangleCount = 0,
const wchar_t* name = NULL);
100 virtual const wchar_t*
getName()
const = 0;
101 virtual void setName(
const wchar_t* name) = 0;
107 #endif // _IPOLYMESH_H_
virtual ITexture * getTexture(int index) const =0
Get i-th texture.
virtual void setName(const wchar_t *name)=0
Access composite mesh name.
ErrorCode ABASESDK_LINK_SPEC createCompositeMesh(ICompositeMesh **mesh, int vertexCount=0, int triangleCount=0, const wchar_t *name=NULL)
Create composite mesh with given name and new uuid.
virtual const IArrayInt * getUntexturedTriangles() const =0
Get untextured triangle indices (as array).
Common texture handling interface.
Interface for array of integer data that supports smart reference counting.
virtual bool isTriangleTextured(int i) const =0
Get texture status for i-th triangle.
Set of three texture coordinates.
virtual void setUuid(const Uuid &uuid)=0
Access composite mesh uuid.
virtual int getTexturesCount() const =0
Get number of textures.
virtual const Uuid & getUuid() const =0
Access composite mesh uuid.
virtual ErrorCode validateTextures(bool clearEmpty=true)=0
Collect textured triangle indices.
Indexed triangle mesh with optional unwrapped textures.
virtual const ITexture * getTriangleTexture(int i) const =0
Get texture for i-th triangle of the mesh.
virtual void getTexturedTriangles(const IArrayInt **triangleIndices, const IArrayInt **textureIndices) const =0
Get textured triangles.
virtual void addTexture(ITexture *texture)=0
Add texture.
virtual const wchar_t * getName() const =0
Access composite mesh name.
#define ABASESDK_LINK_SPEC
virtual bool isTextured() const =0
Check the presence of texture.
virtual TriangleUV getTriangleUV(int i) const =0
Get triplet of texture coordinates for i-th triangle.