version 3.3

VRS::ConstantDetail Class Reference

#include <vrs/constantdetail.h>

Inheritance diagram for VRS::ConstantDetail:

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

List of all members.

Public Member Functions

 ConstantDetail (int nx=16, int ny=16)
 Constructs a tessellator delivering the given values to all handlers.
int getNu () const
 Sets the u value.
void setNu (int nu)
 Returns the u value.
int getNv () const
 Sets the v value.
void setNv (int nv)
 Returns the v value.
virtual void evaluate (const Engine *, const Shape *, int &nu, int &nv) const
 Sets nu and nv to the stored level, independant of the engine's state and the shape.
 VRS_TYPEINFO (ConstantDetail, Tessellation)
 VRS_SERIALIZABLE (ConstantDetail)


Detailed Description

Tessellation delivering constant values Inserted into the scene graph, objects of this class deliver constant values to the handler.

Constructor & Destructor Documentation

VRS::ConstantDetail::ConstantDetail ( int  nx = 16,
int  ny = 16 
)

Constructs a tessellator delivering the given values to all handlers.


Member Function Documentation

int VRS::ConstantDetail::getNu (  )  const [inline]

Sets the u value.

void VRS::ConstantDetail::setNu ( int  nu  ) 

Returns the u value.

int VRS::ConstantDetail::getNv (  )  const [inline]

Sets the v value.

void VRS::ConstantDetail::setNv ( int  nv  ) 

Returns the v value.

virtual void VRS::ConstantDetail::evaluate ( const Engine ,
const Shape ,
int &  nu,
int &  nv 
) const [virtual]

Sets nu and nv to the stored level, independant of the engine's state and the shape.

Implements VRS::Tessellation.

VRS::ConstantDetail::VRS_TYPEINFO ( ConstantDetail  ,
Tessellation   
)

VRS::ConstantDetail::VRS_SERIALIZABLE ( ConstantDetail   ) 


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

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