|
Base class defining the interface for a 1D Graphics Texture. More...
#include <SurgSim/Graphics/Texture1d.h>
Public Member Functions | |
| virtual void | setSize (int width)=0 |
| Sets the size of the texture. More... | |
| virtual void | getSize (int *width) const =0 |
| Gets the size of the texture. More... | |
Public Member Functions inherited from SurgSim::Graphics::Texture | |
| virtual | ~Texture () |
| Destructor. More... | |
| virtual bool | loadImage (const std::string &filePath)=0 |
| Loads an image into the texture from a file. More... | |
| virtual void | clearImage ()=0 |
| Removes the image from the texture. More... | |
Base class defining the interface for a 1D Graphics Texture.
A 1D Texture only has width.
|
pure virtual |
Gets the size of the texture.
Implemented in SurgSim::Graphics::OsgTexture1d.
|
pure virtual |
Sets the size of the texture.
| width | Width of the texture |
Implemented in SurgSim::Graphics::OsgTexture1d.
1.8.11