version 3.3

VRS::CubeMapTextureGL Class Reference

Base class for all OpenGL cube map textures. More...

#include <vrs/opengl/cubemaptexturegl.h>

Inheritance diagram for VRS::CubeMapTextureGL:

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

List of all members.

Public Types

enum  Side {
  Right = 0, Left, Top, Bottom,
  Front, Back
}

Public Member Functions

 VRS_SERIALIZABLE_CLASS_ENUM (Side)
 CubeMapTextureGL (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 void setWrap (TextureGL::WrapMode wrapMode)
virtual TextureGL::WrapMode getWrap () const
virtual void setObjectRelativeReflectionMap (bool yesno)
virtual bool isObjectRelativeReflectionMap () const
 VRS_TYPEINFO (CubeMapTextureGL, TextureGL)
 VRS_SERIALIZABLE (CubeMapTextureGL)


Detailed Description

Base class for all OpenGL cube map textures.

Member Enumeration Documentation

Enumerator:
Right 
Left 
Top 
Bottom 
Front 
Back 


Constructor & Destructor Documentation

VRS::CubeMapTextureGL::CubeMapTextureGL ( 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.


Member Function Documentation

VRS::CubeMapTextureGL::VRS_SERIALIZABLE_CLASS_ENUM ( Side   ) 

virtual void VRS::CubeMapTextureGL::setWrap ( TextureGL::WrapMode  wrapMode  )  [virtual]

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

virtual void VRS::CubeMapTextureGL::setObjectRelativeReflectionMap ( bool  yesno  )  [virtual]

virtual bool VRS::CubeMapTextureGL::isObjectRelativeReflectionMap (  )  const [virtual]

VRS::CubeMapTextureGL::VRS_TYPEINFO ( CubeMapTextureGL  ,
TextureGL   
)

VRS::CubeMapTextureGL::VRS_SERIALIZABLE ( CubeMapTextureGL   ) 


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

Generated on Mon May 21 06:00:20 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact