RobWorkProject  23.9.11-
Public Member Functions | List of all members
Model3D::Texture Class Referenceabstract

Inherited by TextureData.

Public Member Functions

virtual ~Texture ()
 default destructure
 
virtual bool hasImageData () const =0
 check if this texture has image data More...
 
virtual rw::core::Ptr< rw::sensor::ImagegetImageData () const =0
 get image data More...
 
virtual rw::math::Vector3D< float > getRGBData () const =0
 get RGB data More...
 
virtual const std::string & getName () const =0
 get id of texture More...
 
virtual rw::core::Ptr< Textureclone () const =0
 Clone the current texture. More...
 

Member Function Documentation

◆ clone()

virtual rw::core::Ptr<Texture> clone ( ) const
pure virtual

Clone the current texture.

Returns
rw::core::Ptr<Texture>

Implemented in TextureData.

◆ getImageData()

virtual rw::core::Ptr<rw::sensor::Image> getImageData ( ) const
pure virtual

get image data

Returns

Implemented in TextureData.

◆ getName()

virtual const std::string& getName ( ) const
pure virtual

get id of texture

Returns

Implemented in TextureData.

◆ getRGBData()

virtual rw::math::Vector3D<float> getRGBData ( ) const
pure virtual

get RGB data

Returns

Implemented in TextureData.

◆ hasImageData()

virtual bool hasImageData ( ) const
pure virtual

check if this texture has image data

Returns
true if it has image data, false otherwise

Implemented in TextureData.


The documentation for this class was generated from the following file: