version 3.3

VRS::ImageTextureArray1DGL Class Reference

Base class for all OpenGL textures. More...

#include <vrs/opengl/imagetexturearray1dgl.h>

Inheritance diagram for VRS::ImageTextureArray1DGL:

VRS::TextureArray1DGL VRS::TextureGL VRS::Texture VRS::MonoAttribute VRS::Attribute VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 ImageTextureArray1DGL (SO< Iterator< SO< Image > > > images, TextureGL::WrapMode wrap=TextureGL::REPEAT, TextureGL::FilterMode minFilter=TextureGL::TRILINEAR, TextureGL::FilterMode magFilter=TextureGL::LINEAR, GLfloat anisotropic=1.0, const Matrix &matrix=Matrix(), const Color &borderColor=Color::black, GLenum internalFormat=GL_ZERO, bool unrefImageAfterBindung=false)
bool operator== (const ImageTextureArray1DGL &other) const
virtual void setImages (Iterator< SO< Image > > *newImages, GLenum internalFormat)
virtual void setImage (int idx, Image *newImage)
virtual SO< Iterator< SO
< Image > > > 
getImages () const
virtual ImagegetImage (int idx) const
virtual int getImageCount () const
virtual TextureGL::WrapMode getWrap () const
virtual TextureGL::FilterMode getMinFilter () const
virtual GLenum getInternalFormat () const
void unrefImageAfterBinding () const
 Returns whether the texture shall release the vrs image after it has been transferred to the grahics adapter.
 VRS_TYPEINFO (ImageTextureArray1DGL, TextureArray1DGL)
 VRS_SERIALIZABLE (ImageTextureArray1DGL)

Protected Member Functions

 ImageTextureArray1DGL ()
virtual void acceptChildren (std::vector< Visitable * > &appendChildrenHere) const

Friends

class ImageTexture1DPainterGL


Detailed Description

Base class for all OpenGL textures.

Constructor & Destructor Documentation

VRS::ImageTextureArray1DGL::ImageTextureArray1DGL ( SO< Iterator< SO< Image > > >  images,
TextureGL::WrapMode  wrap = TextureGL::REPEAT,
TextureGL::FilterMode  minFilter = TextureGL::TRILINEAR,
TextureGL::FilterMode  magFilter = TextureGL::LINEAR,
GLfloat  anisotropic = 1.0,
const Matrix matrix = Matrix(),
const Color borderColor = Color::black,
GLenum  internalFormat = GL_ZERO,
bool  unrefImageAfterBindung = false 
)

OpenGL texture. By default (if GL_ZERO is specified for 'internalFormat'), the internal texture format is determined by the number of layers: 1: GL_LUMINANCE 2: GL_LUMINANCE_ALPHA 3: GL_RGB 4: GL_RGBA Or GL_RGB for a PaletteImage.

VRS::ImageTextureArray1DGL::ImageTextureArray1DGL (  )  [protected]


Member Function Documentation

bool VRS::ImageTextureArray1DGL::operator== ( const ImageTextureArray1DGL other  )  const

virtual void VRS::ImageTextureArray1DGL::setImages ( Iterator< SO< Image > > *  newImages,
GLenum  internalFormat 
) [virtual]

virtual void VRS::ImageTextureArray1DGL::setImage ( int  idx,
Image newImage 
) [virtual]

virtual SO<Iterator<SO<Image> > > VRS::ImageTextureArray1DGL::getImages (  )  const [virtual]

virtual Image* VRS::ImageTextureArray1DGL::getImage ( int  idx  )  const [virtual]

virtual int VRS::ImageTextureArray1DGL::getImageCount (  )  const [virtual]

Get/set the image.

virtual TextureGL::WrapMode VRS::ImageTextureArray1DGL::getWrap (  )  const [virtual]

Reimplemented from VRS::TextureArray1DGL.

virtual TextureGL::FilterMode VRS::ImageTextureArray1DGL::getMinFilter (  )  const [virtual]

Reimplemented from VRS::TextureGL.

virtual GLenum VRS::ImageTextureArray1DGL::getInternalFormat (  )  const [virtual]

Sets/gets the internal texture format used by OpenGL for the texture. The internal texture format determines the texture application formula used for each component of the texture. If GL_ZERO is specified the value described for the constructor is set.

Reimplemented from VRS::TextureGL.

void VRS::ImageTextureArray1DGL::unrefImageAfterBinding (  )  const

Returns whether the texture shall release the vrs image after it has been transferred to the grahics adapter.

VRS::ImageTextureArray1DGL::VRS_TYPEINFO ( ImageTextureArray1DGL  ,
TextureArray1DGL   
)

VRS::ImageTextureArray1DGL::VRS_SERIALIZABLE ( ImageTextureArray1DGL   ) 

virtual void VRS::ImageTextureArray1DGL::acceptChildren ( std::vector< Visitable * > &  appendChildrenHere  )  const [protected, virtual]

Reimplemented from VRS::Visitable.


Friends And Related Function Documentation

friend class ImageTexture1DPainterGL [friend]


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

Generated on Sat May 18 06:00:27 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact