virtual void setSize(int width, int height, int depth)
Sets the size of the texture.
Definition: OsgTexture3d.cpp:28
Base class for OSG implementations of Graphics Textures.
Definition: OsgTexture.h:32
Base class defining the interface for a 3D Graphics Texture.
Definition: Texture3d.h:32
OSG implementation of a 3D Texture.
Definition: OsgTexture3d.h:38
virtual bool loadImageSlices(const std::vector< std::string > &filePaths)
Loads images slices from files into the 3D texture.
Definition: OsgTexture3d.cpp:52
OsgTexture3d()
Constructor.
Definition: OsgTexture3d.cpp:24
osg::ref_ptr< osg::Texture3D > getOsgTexture3d() const
Returns the osg::Texture3D.
Definition: OsgTexture3d.h:65
osg::ref_ptr< osg::Texture > getOsgTexture() const
Returns the osg::Texture1D.
Definition: OsgTexture.h:44
virtual void getSize(int *width, int *height, int *depth) const
Gets the size of the texture.
Definition: OsgTexture3d.cpp:33