19 namespace artec {
namespace sdk {
namespace base
29 createTexture(ITexture** texture, IImage* image = NULL,
int trianglesIndexCount = 0,
int UVIndexCount = 0,
int UVCoordinatesCount = 0);
93 virtual void clear() = 0;
97 virtual bool isEmpty()
const = 0;
102 #endif // _ITEXTURE_H_
virtual IImage * getImage() const =0
Get texture image.
virtual void setTexturedTriangles(IArrayInt *triangles)=0
Set the array of textured triangles.
Interface for common raster image objects.
Common texture handling interface.
virtual void setTrianglesUVIndices(IArrayIndexTriplet *index)=0
Set triplets of indices of UV coordinates for the textured triangles.
Interface for array of integer data that supports smart reference counting.
virtual void setUVCoordinates(IArrayUVCoordinates *coords)=0
Set UV (texture) coordinates.
virtual IArrayInt * getTexturedTriangles() const =0
Get textured triangles.
virtual void clear()=0
Clear all texture contents.
virtual IArrayUVCoordinates * getUVCoordinates() const =0
Get UV (texture) coordinates.
Interface for array of texture coordinates that supports smart reference counting.
virtual IArrayIndexTriplet * getTrianglesUVIndices() const =0
Get triplets of UV coordinate indices for the textured triangles.
virtual void setImage(IImage *image)=0
Set texture image.
virtual bool isEmpty() const =0
Check whether the texture is initialized.
#define ABASESDK_LINK_SPEC
Interface that implements reference counting and life-time management.
ErrorCode ABASESDK_LINK_SPEC createTexture(ITexture **texture, IImage *image=NULL, int trianglesIndexCount=0, int UVIndexCount=0, int UVCoordinatesCount=0)
Interface for array of triangles (relationship between vertices).