SBMVisualModelTexture Class Reference

This class is the base class to describe a visual model.

Public Member Functions

 SB_DECLARE_DATA (SBMVisualModelTexture)
 
- Public Member Functions inherited from SBCReferenceTarget
 SBCReferenceTarget ()
 
virtual ~SBCReferenceTarget ()
 
unsigned int getMemoryFootprint () const
 
void printReferencesToOwners () const
 

Constructors and destructors

 SBMVisualModelTexture (unsigned int width, unsigned int height, unsigned char *textureData)
 Builds a texture.
 
virtual ~SBMVisualModelTexture ()
 Deletes the triangle surface.
 

Geometry

unsigned int getWidth () const
 Returns the width.
 
void setWidth (unsigned int diffuseMapWidth)
 Sets the width.
 
unsigned int getHeight () const
 Returns the height.
 
void setHeight (unsigned int diffuseMapHeight)
 Sets the height.
 
unsigned char * getTextureData () const
 Returns the texture data.
 
void setTextureData (unsigned char *diffuseMapTextureData)
 Sets the texture data.
 

Additional Inherited Members

- Protected Member Functions inherited from SBCReferenceTarget
void removeAllReferenceOwners ()
 
 SBCReferenceTarget (SBCReferenceTargetData *dataPointer)
 
- Protected Attributes inherited from SBCReferenceTarget
SBCReferenceTargetData * dataPointer