version 3.3

VRS::ImageCubeMapTextureGL Class Reference

OpenGL cube map texture. More...

#include <vrs/opengl/imagecubemaptexturegl.h>

Inheritance diagram for VRS::ImageCubeMapTextureGL:

VRS::CubeMapTextureGL VRS::TextureGL VRS::Texture VRS::MonoAttribute VRS::Attribute VRS::RenderObj VRS::SharedObj VRS::Visitable VRS::NormalizationCubeMapTextureGL

List of all members.

Public Member Functions

 ImageCubeMapTextureGL (Image *right, Image *left, Image *top, Image *bottom, Image *front, Image *back, TextureGL::WrapMode wrap=TextureGL::CLAMP_TO_EDGE, TextureGL::FilterMode minFilter=TextureGL::TRILINEAR, TextureGL::FilterMode magFilter=TextureGL::LINEAR, GLfloat anisotropic=1.0, const Matrix &matrix=Matrix(), GLenum internalFormat=GL_ZERO, bool isObjectRelativeReflectionMap=false)
 ImageCubeMapTextureGL (Iterator< SO< Image > > *images, TextureGL::WrapMode wrap=TextureGL::CLAMP_TO_EDGE, TextureGL::FilterMode minFilter=TextureGL::TRILINEAR, TextureGL::FilterMode magFilter=TextureGL::LINEAR, GLfloat anisotropic=1.0, const Matrix &matrix=Matrix(), GLenum internalFormat=GL_ZERO, bool isObjectRelativeReflectionMap=false)
 OpenGL cube map texture.
virtual ImagegetImage (CubeMapTextureGL::Side side) const
virtual void setImage (CubeMapTextureGL::Side side, Image *image)
virtual Iterator< SO< Image > > * getImages () const
virtual void setImages (Iterator< SO< Image > > *images, GLenum internalFormat=GL_ZERO)
virtual GLenum getInternalFormat () const
 VRS_TYPEINFO (ImageCubeMapTextureGL, CubeMapTextureGL)
 VRS_SERIALIZABLE (ImageCubeMapTextureGL)

Protected Member Functions

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


Detailed Description

OpenGL cube map texture.

Constructor & Destructor Documentation

VRS::ImageCubeMapTextureGL::ImageCubeMapTextureGL ( Image right,
Image left,
Image top,
Image bottom,
Image front,
Image back,
TextureGL::WrapMode  wrap = TextureGL::CLAMP_TO_EDGE,
TextureGL::FilterMode  minFilter = TextureGL::TRILINEAR,
TextureGL::FilterMode  magFilter = TextureGL::LINEAR,
GLfloat  anisotropic = 1.0,
const Matrix matrix = Matrix(),
GLenum  internalFormat = GL_ZERO,
bool  isObjectRelativeReflectionMap = false 
)

VRS::ImageCubeMapTextureGL::ImageCubeMapTextureGL ( Iterator< SO< Image > > *  images,
TextureGL::WrapMode  wrap = TextureGL::CLAMP_TO_EDGE,
TextureGL::FilterMode  minFilter = TextureGL::TRILINEAR,
TextureGL::FilterMode  magFilter = TextureGL::LINEAR,
GLfloat  anisotropic = 1.0,
const Matrix matrix = Matrix(),
GLenum  internalFormat = GL_ZERO,
bool  isObjectRelativeReflectionMap = false 
)

OpenGL cube map texture.

Use "isObjectRelativeReflectionMap = true" in case the cubemap is used as reflection or normal map, that is located in object space, i.e. the map is linked to the object and rotates with it. Otherwise, the such a map located in eye space, i.e. the reflection is rotated with the camera. Leave the flag at its default value if the cubemap is not used for reflection.

VRS::ImageCubeMapTextureGL::ImageCubeMapTextureGL (  )  [protected]


Member Function Documentation

virtual Image* VRS::ImageCubeMapTextureGL::getImage ( CubeMapTextureGL::Side  side  )  const [virtual]

virtual void VRS::ImageCubeMapTextureGL::setImage ( CubeMapTextureGL::Side  side,
Image image 
) [virtual]

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

virtual void VRS::ImageCubeMapTextureGL::setImages ( Iterator< SO< Image > > *  images,
GLenum  internalFormat = GL_ZERO 
) [virtual]

virtual GLenum VRS::ImageCubeMapTextureGL::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.

VRS::ImageCubeMapTextureGL::VRS_TYPEINFO ( ImageCubeMapTextureGL  ,
CubeMapTextureGL   
)

VRS::ImageCubeMapTextureGL::VRS_SERIALIZABLE ( ImageCubeMapTextureGL   ) 

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

Reimplemented from VRS::Visitable.


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

Generated on Sun May 19 06:00:36 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact