version 3.3

VRS::NormalmapGL Class Reference

Normalmap Attribute. More...

#include <vrs/opengl/normalmapgl.h>

Inheritance diagram for VRS::NormalmapGL:

VRS::MonoAttribute VRS::Attribute VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 NormalmapGL (Image *normalMap, Image *colorMap=NULL, double roughness=0.001)
void setNormalMap (Image *image)
 sets the normals of the normalmap
ImagegetNormalMap () const
 gets the normals of the normalmap
void setColorMap (Image *image)
 sets the color of the normalmap
ImagegetColorMap () const
 gets the color of the normalmap
bool useTexture () const
void useTexture (bool)
 use texture
void setRoughness (double roughness)
 sets the roughness of the normalmap
double getRoughness () const
 gets the roughness of the normalmap
 VRS_TYPEINFO (NormalmapGL, MonoAttribute)
 VRS_SERIALIZABLE (NormalmapGL)

Protected Member Functions

 NormalmapGL ()


Detailed Description

Normalmap Attribute.

Constructor & Destructor Documentation

VRS::NormalmapGL::NormalmapGL ( Image normalMap,
Image colorMap = NULL,
double  roughness = 0.001 
)

VRS::NormalmapGL::NormalmapGL (  )  [protected]


Member Function Documentation

void VRS::NormalmapGL::setNormalMap ( Image image  ) 

sets the normals of the normalmap

Image* VRS::NormalmapGL::getNormalMap (  )  const

gets the normals of the normalmap

void VRS::NormalmapGL::setColorMap ( Image image  ) 

sets the color of the normalmap

Image* VRS::NormalmapGL::getColorMap (  )  const

gets the color of the normalmap

bool VRS::NormalmapGL::useTexture (  )  const

void VRS::NormalmapGL::useTexture ( bool   ) 

use texture

void VRS::NormalmapGL::setRoughness ( double  roughness  ) 

sets the roughness of the normalmap

double VRS::NormalmapGL::getRoughness (  )  const

gets the roughness of the normalmap

VRS::NormalmapGL::VRS_TYPEINFO ( NormalmapGL  ,
MonoAttribute   
)

VRS::NormalmapGL::VRS_SERIALIZABLE ( NormalmapGL   ) 


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

Generated on Tue May 22 06:00:24 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact