|
opensurgsim
|
OSG implementation of a Rectangle Texture. More...
#include <OsgTextureRectangle.h>
Public Member Functions | |
| OsgTextureRectangle () | |
| Constructor. More... | |
| virtual void | setSize (int width, int height) |
| Sets the size of the texture. More... | |
| virtual void | getSize (int *width, int *height) const |
| Gets the size of the texture. More... | |
| osg::ref_ptr< osg::TextureRectangle > | getOsgTextureRectangle () const |
| Returns the osg::TextureRectangle. | |
Public Member Functions inherited from SurgSim::Graphics::OsgTexture | |
| 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. | |
Additional Inherited Members | |
Protected Member Functions inherited from SurgSim::Graphics::OsgTexture | |
| OsgTexture (osg::Texture *texture) | |
| Constructor. More... | |
OSG implementation of a Rectangle Texture.
Wraps an osg::TextureRectangle
| OsgTextureRectangle::OsgTextureRectangle | ( | ) |
Constructor.
|
virtual |
Gets the size of the texture.
| [out] | width | Width of the texture |
| [out] | height | Height of the texture |
Implements SurgSim::Graphics::TextureRectangle.
|
virtual |
Sets the size of the texture.
| width | Width of the texture |
| height | Height of the texture |
Implements SurgSim::Graphics::TextureRectangle.
1.8.12