Common texture handling interface.
More...
#include <artec/sdk/base/ITexture.h>
Common texture handling interface.
Definition at line 36 of file ITexture.h.
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!
Get triplets of UV coordinate indices for the textured triangles.
- Returns
- Pointer to the array of IndexTriplet containing indices of the UV coordinates.
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
-
image | Pointer to the IImage object. |
virtual void artec::sdk::base::ITexture::setTexturedTriangles |
( |
IArrayInt * |
triangles | ) |
|
|
pure virtual |
Set the array of textured triangles.
- Parameters
-
triangles | Pointer 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
-
index | Pointer to the array of IndexTriplet containing indices of the UV coordinates. |
Set UV (texture) coordinates.
- Parameters
-
coords | Pointer to the array of UVCoordinates (texture coordinates). |
The documentation for this class was generated from the following file: