Artec 3D Scanning SDK  2.0
Public Member Functions | List of all members
artec::sdk::base::ITexture Class Referenceabstract

Common texture handling interface. More...

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

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

Public Member Functions

virtual IArrayInt * getTexturedTriangles () const =0
 Get textured triangles. More...
 
virtual void setTexturedTriangles (IArrayInt *triangles)=0
 Set the array of textured triangles. More...
 
virtual IArrayIndexTriplet * getTrianglesUVIndices () const =0
 Get triplets of UV coordinate indices for the textured triangles. More...
 
virtual void setTrianglesUVIndices (IArrayIndexTriplet *index)=0
 Set triplets of indices of UV coordinates for the textured triangles. More...
 
virtual IArrayUVCoordinates * getUVCoordinates () const =0
 Get UV (texture) coordinates. More...
 
virtual void setUVCoordinates (IArrayUVCoordinates *coords)=0
 Set UV (texture) coordinates. More...
 
virtual IImage * getImage () const =0
 Get texture image. More...
 
virtual void setImage (IImage *image)=0
 Set texture image. More...
 
virtual void clear ()=0
 Clear all texture contents. More...
 
virtual bool isEmpty () const =0
 Check whether the texture is initialized. More...
 
- Public Member Functions inherited from artec::sdk::base::IRef
virtual int addRef () const =0
 Increase object reference counter. More...
 
virtual int release () const =0
 Decrease object reference counter. More...
 

Detailed Description

Common texture handling interface.

Definition at line 36 of file ITexture.h.

Member Function Documentation

virtual void artec::sdk::base::ITexture::clear ( )
pure virtual

Clear all texture contents.

Release all Arrays and image.

virtual IImage* artec::sdk::base::ITexture::getImage ( ) const
pure virtual

Get texture image.

Returns
Pointer to the IImage object representing texture.
virtual IArrayInt* artec::sdk::base::ITexture::getTexturedTriangles ( ) const
pure virtual

Get textured triangles.

Returns
Pointer to the array of triangle indices. Don't confuse them with vertex indices!
virtual IArrayIndexTriplet* artec::sdk::base::ITexture::getTrianglesUVIndices ( ) const
pure virtual

Get triplets of UV coordinate indices for the textured triangles.

Returns
Pointer to the array of IndexTriplet containing indices of the UV coordinates.
virtual IArrayUVCoordinates* artec::sdk::base::ITexture::getUVCoordinates ( ) const
pure virtual

Get UV (texture) coordinates.

Returns
Pointer to the array of UVCoordinates (texture coordinates).
virtual bool artec::sdk::base::ITexture::isEmpty ( ) const
pure virtual

Check whether the texture is initialized.

virtual void artec::sdk::base::ITexture::setImage ( IImage *  image)
pure virtual

Set texture image.

Parameters
imagePointer to the IImage object.
virtual void artec::sdk::base::ITexture::setTexturedTriangles ( IArrayInt *  triangles)
pure virtual

Set the array of textured triangles.

Parameters
trianglesPointer to the array of triangle indices.
virtual void artec::sdk::base::ITexture::setTrianglesUVIndices ( IArrayIndexTriplet *  index)
pure virtual

Set triplets of indices of UV coordinates for the textured triangles.

Parameters
indexPointer to the array of IndexTriplet containing indices of the UV coordinates.
virtual void artec::sdk::base::ITexture::setUVCoordinates ( IArrayUVCoordinates *  coords)
pure virtual

Set UV (texture) coordinates.

Parameters
coordsPointer to the array of UVCoordinates (texture coordinates).

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