Developer Documentation
Texture Class Reference

Public Member Functions

 Texture (const Texture &_tex)
 
void filename (QString _name)
 
QString filename ()
 
void id (int _id)
 
int id ()
 
void glName (GLuint _glName)
 
GLuint glName ()
 
void name (QString _name)
 
QString name ()
 
void visibleName (QString _name)
 
QString visibleName ()
 
void dimension (uint _dimension)
 
uint dimension ()
 
void enabled (bool _enabled)
 
bool enabled ()
 
void enable ()
 
void disable ()
 
void hidden (bool _hidden)
 
bool hidden ()
 
void hide ()
 
void dirty (bool _dirty)
 
bool dirty ()
 
void clean ()
 
void setDirty ()
 
void textureImageId (int _id)
 
int textureImageId ()
 
void type (TextureType _type)
 
TextureType type ()
 
QString indexMappingProperty ()
 
void indexMappingProperty (QString _property)
 

Public Attributes

TexParameters parameters
 Parameters of the texture. More...
 
QStringList multiTextureList
 If this is a multiTexture, the list will contain all textures for this multi Texture node. More...
 

Private Attributes

QString name_
 Texture Name. More...
 
int textureImageId_
 The image used as the texture ( Ids are handled by the ImageStore ) More...
 
QString visibleName_
 Name visible in the gui. More...
 
QString filename_
 Filename of the texture. More...
 
int id_
 Texture id. More...
 
GLuint glName_
 glName More...
 
uint dimension_
 dimension More...
 
bool enabled_
 Status. More...
 
bool hidden_
 Hidden flag ( If this texture belongs to a multitexture, it will be hidden in the context menu ) More...
 
bool dirty_
 does this texture need an update? More...
 
TextureType type_
 Texture Type. More...
 
QString indexMappingProperty_
 

Detailed Description

Definition at line 68 of file TextureData.hh.

Constructor & Destructor Documentation

◆ Texture() [1/2]

Texture::Texture ( )

Definition at line 50 of file TextureData.cc.

◆ Texture() [2/2]

Texture::Texture ( const Texture _tex)
inline

Definition at line 73 of file TextureData.hh.

Member Function Documentation

◆ clean()

void Texture::clean ( )
inline

Definition at line 126 of file TextureData.hh.

◆ dimension() [1/2]

uint Texture::dimension ( )
inline

Definition at line 112 of file TextureData.hh.

◆ dimension() [2/2]

void Texture::dimension ( uint  _dimension)
inline

Definition at line 111 of file TextureData.hh.

◆ dirty() [1/2]

bool Texture::dirty ( )
inline

Definition at line 125 of file TextureData.hh.

◆ dirty() [2/2]

void Texture::dirty ( bool  _dirty)
inline

Definition at line 124 of file TextureData.hh.

◆ disable()

void Texture::disable ( )
inline

Definition at line 118 of file TextureData.hh.

◆ enable()

void Texture::enable ( )
inline

Definition at line 117 of file TextureData.hh.

◆ enabled() [1/2]

bool Texture::enabled ( )
inline

Definition at line 116 of file TextureData.hh.

◆ enabled() [2/2]

void Texture::enabled ( bool  _enabled)
inline

Definition at line 115 of file TextureData.hh.

◆ filename() [1/2]

QString Texture::filename ( )
inline

Definition at line 93 of file TextureData.hh.

◆ filename() [2/2]

void Texture::filename ( QString  _name)
inline

Definition at line 92 of file TextureData.hh.

◆ glName() [1/2]

GLuint Texture::glName ( )
inline

Definition at line 101 of file TextureData.hh.

◆ glName() [2/2]

void Texture::glName ( GLuint  _glName)
inline

Definition at line 100 of file TextureData.hh.

◆ hidden() [1/2]

bool Texture::hidden ( )
inline

Definition at line 121 of file TextureData.hh.

◆ hidden() [2/2]

void Texture::hidden ( bool  _hidden)
inline

Definition at line 120 of file TextureData.hh.

◆ hide()

void Texture::hide ( )
inline

Definition at line 122 of file TextureData.hh.

◆ id() [1/2]

int Texture::id ( )
inline

Definition at line 97 of file TextureData.hh.

◆ id() [2/2]

void Texture::id ( int  _id)
inline

Definition at line 96 of file TextureData.hh.

◆ indexMappingProperty() [1/2]

QString Texture::indexMappingProperty ( )
inline

Definition at line 137 of file TextureData.hh.

◆ indexMappingProperty() [2/2]

void Texture::indexMappingProperty ( QString  _property)
inline

Definition at line 138 of file TextureData.hh.

◆ name() [1/2]

QString Texture::name ( void  )
inline

Definition at line 105 of file TextureData.hh.

◆ name() [2/2]

void Texture::name ( QString  _name)
inline

Definition at line 104 of file TextureData.hh.

◆ setDirty()

void Texture::setDirty ( )
inline

Definition at line 127 of file TextureData.hh.

◆ textureImageId() [1/2]

int Texture::textureImageId ( )
inline

Definition at line 130 of file TextureData.hh.

◆ textureImageId() [2/2]

void Texture::textureImageId ( int  _id)
inline

Definition at line 129 of file TextureData.hh.

◆ type() [1/2]

TextureType Texture::type ( )
inline

Definition at line 134 of file TextureData.hh.

◆ type() [2/2]

void Texture::type ( TextureType  _type)
inline

Definition at line 133 of file TextureData.hh.

◆ visibleName() [1/2]

QString Texture::visibleName ( )
inline

Definition at line 108 of file TextureData.hh.

◆ visibleName() [2/2]

void Texture::visibleName ( QString  _name)
inline

Definition at line 107 of file TextureData.hh.

Member Data Documentation

◆ dimension_

uint Texture::dimension_
private

dimension

Definition at line 168 of file TextureData.hh.

◆ dirty_

bool Texture::dirty_
private

does this texture need an update?

Definition at line 177 of file TextureData.hh.

◆ enabled_

bool Texture::enabled_
private

Status.

Definition at line 171 of file TextureData.hh.

◆ filename_

QString Texture::filename_
private

Filename of the texture.

Definition at line 159 of file TextureData.hh.

◆ glName_

GLuint Texture::glName_
private

glName

Definition at line 165 of file TextureData.hh.

◆ hidden_

bool Texture::hidden_
private

Hidden flag ( If this texture belongs to a multitexture, it will be hidden in the context menu )

Definition at line 174 of file TextureData.hh.

◆ id_

int Texture::id_
private

Texture id.

Definition at line 162 of file TextureData.hh.

◆ indexMappingProperty_

QString Texture::indexMappingProperty_
private

If this is a multiTexture, indexMappingProperty_ will point to the property storing the mapping Defaults to the f:textureindex

Definition at line 185 of file TextureData.hh.

◆ multiTextureList

QStringList Texture::multiTextureList

If this is a multiTexture, the list will contain all textures for this multi Texture node.

Definition at line 146 of file TextureData.hh.

◆ name_

QString Texture::name_
private

Texture Name.

Definition at line 150 of file TextureData.hh.

◆ parameters

TexParameters Texture::parameters

Parameters of the texture.

Definition at line 142 of file TextureData.hh.

◆ textureImageId_

int Texture::textureImageId_
private

The image used as the texture ( Ids are handled by the ImageStore )

Definition at line 153 of file TextureData.hh.

◆ type_

TextureType Texture::type_
private

Texture Type.

Definition at line 180 of file TextureData.hh.

◆ visibleName_

QString Texture::visibleName_
private

Name visible in the gui.

Definition at line 156 of file TextureData.hh.


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