VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtIndirectPolygonOffset Class Reference

non virtual container class for defining a polygon offset state More...

Public Member Functions

 DtIndirectPolygonOffset ()
 default constructor (factor, units are default of 0) More...
 
 DtIndirectPolygonOffset (float factor, float units)
 constructor takes a factor and units More...
 
 ~DtIndirectPolygonOffset ()
 destructor - non virtual since this is a container class that should not be derived from More...
 
 DtIndirectPolygonOffset (const DtIndirectPolygonOffset &other)
 copy constructor More...
 
DtIndirectPolygonOffsetoperator= (const DtIndirectPolygonOffset &other)
 assignment operator More...
 
float factor (void) const
 get the polygon offset factor see https://www.opengl.org/archives/resources/faq/technical/polygonoffset.htm for a good explanation of how these work More...
 
float units (void) const
 get the polygon offset units see https://www.opengl.org/archives/resources/faq/technical/polygonoffset.htm for a good explanation of how these work More...
 
bool operator== (const DtIndirectPolygonOffset &rhs) const
 equality More...
 
bool operator!= (const DtIndirectPolygonOffset &rhs) const
 in-equality More...
 
void apply (float factorMutliplier, float unitMultiplier) const
 apply the offset and factor with a multiplier for the factor and the units More...
 

Protected Attributes

float myFactor
 
float myUnits
 

Detailed Description

non virtual container class for defining a polygon offset state

Constructor & Destructor Documentation

makVrv::DtIndirectPolygonOffset::DtIndirectPolygonOffset ( )

default constructor (factor, units are default of 0)

makVrv::DtIndirectPolygonOffset::DtIndirectPolygonOffset ( float  factor,
float  units 
)

constructor takes a factor and units

makVrv::DtIndirectPolygonOffset::~DtIndirectPolygonOffset ( )

destructor - non virtual since this is a container class that should not be derived from

makVrv::DtIndirectPolygonOffset::DtIndirectPolygonOffset ( const DtIndirectPolygonOffset other)

copy constructor

Member Function Documentation

DtIndirectPolygonOffset& makVrv::DtIndirectPolygonOffset::operator= ( const DtIndirectPolygonOffset other)

assignment operator

float makVrv::DtIndirectPolygonOffset::factor ( void  ) const

get the polygon offset factor see https://www.opengl.org/archives/resources/faq/technical/polygonoffset.htm for a good explanation of how these work

float makVrv::DtIndirectPolygonOffset::units ( void  ) const

get the polygon offset units see https://www.opengl.org/archives/resources/faq/technical/polygonoffset.htm for a good explanation of how these work

bool makVrv::DtIndirectPolygonOffset::operator== ( const DtIndirectPolygonOffset rhs) const

equality

bool makVrv::DtIndirectPolygonOffset::operator!= ( const DtIndirectPolygonOffset rhs) const

in-equality

void makVrv::DtIndirectPolygonOffset::apply ( float  factorMutliplier,
float  unitMultiplier 
) const

apply the offset and factor with a multiplier for the factor and the units

Member Data Documentation

float makVrv::DtIndirectPolygonOffset::myFactor
protected
float makVrv::DtIndirectPolygonOffset::myUnits
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)