version 3.3

VRS::HaloTechniqueGL Class Reference

#include <vrs/opengl/halotechniquegl.h>

Inheritance diagram for VRS::HaloTechniqueGL:

VRS::TechniqueGL VRS::Technique VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 HaloTechniqueGL ()
 Technique for rendering halos. Requires ARB vertex programs.
const IDgetNormalID ()
 normalID defines the vertex attribute ID, in which the technique expects the normal information.
void setNormalID (const ID &normalID=NORMAL_ID())
virtual bool canBeUsed (Engine *) const
 This technique requires ARB vertex programs.
virtual bool preparePass (Engine *)
 Initializes the MAIN or HALO rendering pass.
virtual void finishPass (Engine *)
 Finishes the rendering pass.
virtual bool prepareEval (Engine *, const Shape *)
 In the HALO rendering pass, scales the shape according to the size specified in the halo attribute using a vertex program.
virtual void finishEval (Engine *, const Shape *)
 In the HALO rendering pass, deactives the vertex program.
 VRS_TYPEINFO (HaloTechniqueGL, TechniqueGL)


Constructor & Destructor Documentation

VRS::HaloTechniqueGL::HaloTechniqueGL (  ) 

Technique for rendering halos. Requires ARB vertex programs.


Member Function Documentation

const ID& VRS::HaloTechniqueGL::getNormalID (  ) 

normalID defines the vertex attribute ID, in which the technique expects the normal information.

void VRS::HaloTechniqueGL::setNormalID ( const ID normalID = NORMAL_ID()  ) 

virtual bool VRS::HaloTechniqueGL::canBeUsed ( Engine  )  const [virtual]

This technique requires ARB vertex programs.

Reimplemented from VRS::Technique.

virtual bool VRS::HaloTechniqueGL::preparePass ( Engine  )  [virtual]

Initializes the MAIN or HALO rendering pass.

The halo rendering is done as a late scene traversal pass, where the transparent halos are blended to the scene.

Implements VRS::Technique.

virtual void VRS::HaloTechniqueGL::finishPass ( Engine  )  [virtual]

Finishes the rendering pass.

Implements VRS::Technique.

virtual bool VRS::HaloTechniqueGL::prepareEval ( Engine ,
const Shape  
) [virtual]

In the HALO rendering pass, scales the shape according to the size specified in the halo attribute using a vertex program.

Implements VRS::Technique.

virtual void VRS::HaloTechniqueGL::finishEval ( Engine ,
const Shape  
) [virtual]

In the HALO rendering pass, deactives the vertex program.

Implements VRS::Technique.

VRS::HaloTechniqueGL::VRS_TYPEINFO ( HaloTechniqueGL  ,
TechniqueGL   
)


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