|
opensurgsim
|
Base class for OSG implementations of Graphics Textures. More...
#include <OsgTexture.h>
Public Member Functions | |
| virtual bool | loadImage (const std::string &filePath) |
| Loads an image into the texture from a file. More... | |
| virtual void | clearImage () |
| Removes the image from the texture. | |
| osg::ref_ptr< osg::Texture > | getOsgTexture () const |
| Returns the osg::Texture1D. | |
Public Member Functions inherited from SurgSim::Graphics::Texture | |
| virtual | ~Texture () |
| Destructor. | |
| void | setIsPointSprite (bool value) |
| Set point sprite flag on/off. | |
| bool | isPointSprite () const |
| Get point sprite flag state. | |
Protected Member Functions | |
| OsgTexture (osg::Texture *texture) | |
| Constructor. More... | |
Base class for OSG implementations of Graphics Textures.
Wraps an osg::Texture.
|
explicitprotected |
Constructor.
| texture | OSG texture |
|
virtual |
Loads an image into the texture from a file.
| filePath | Path to the image file |
Implements SurgSim::Graphics::Texture.
Reimplemented in SurgSim::Graphics::OsgTextureCubeMap.
1.8.12