version 3.3

VRS::ShapeSimplifier Class Reference

#include <vrs/shapesimplifier.h>

Inheritance diagram for VRS::ShapeSimplifier:

VRS::Simplifier VRS::Handler VRS::RenderObj VRS::SharedObj VRS::Visitable VRS::BatchTreeSimplifierGL VRS::KnotSimplifier VRS::MappedVertexAttributeShapeSimplifierGL VRS::ObjectCacheSimplifierGL VRS::TEXT::CombinedTextSimplifier VRS::TEXT::FontLodTextSimplifier VRS::TexturedBatchTreeSimplifierGL VRS::TriangleSetSimplifierGL

List of all members.

Public Member Functions

virtual ID target () const =0
virtual bool simplify (Engine *, const Shape *)=0
virtual bool isSimple ()
 VRS_TYPEINFO (ShapeSimplifier, Simplifier)


Detailed Description

Abstract Base Class for Shape Simplifiers. Simplifiers approximate complex shapes by one ore more simple shapes.

Member Function Documentation

virtual ID VRS::ShapeSimplifier::target (  )  const [pure virtual]

virtual bool VRS::ShapeSimplifier::simplify ( Engine ,
const Shape  
) [pure virtual]

bool VRS::ShapeSimplifier::isSimple (  )  [inline, virtual]

If a shape is simplified and isSimple returns true the simplifier should not apply VRS attributes. During the simplification process, techniques and shaders are evaluated for the first simple shape simplifier that is found. The default is non-simple shape simplification.

Reimplemented in VRS::MappedVertexAttributeShapeSimplifierGL, and VRS::TriangleSetSimplifierGL.

VRS::ShapeSimplifier::VRS_TYPEINFO ( ShapeSimplifier  ,
Simplifier   
)


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

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