version 3.3

VRS::FaceStyle Class Reference

Facet Style Attribute. More...

#include <vrs/facestyle.h>

Inheritance diagram for VRS::FaceStyle:

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

List of all members.

Public Types

enum  PaintStyle {
  AsPoints, Outlined, Filled, Culled,
  DoNotChangeStyle
}
enum  Orientation { Clockwise, CounterClockwise, Reverse, DoNotChange }

Public Member Functions

 VRS_SERIALIZABLE_CLASS_ENUM (PaintStyle)
 VRS_SERIALIZABLE_CLASS_ENUM (Orientation)
 FaceStyle (PaintStyle frontStyle=FaceStyle::Filled, PaintStyle back=FaceStyle::Filled, Orientation orientation=FaceStyle::DoNotChange)
bool operator== (const FaceStyle &other) const
void setFrontStyle (PaintStyle frontstyle)
PaintStyle getFrontStyle () const
 Set resp. get the paint style used for front-facing facets.
void setBackStyle (PaintStyle backstyle)
PaintStyle getBackStyle () const
 Set resp. get the paint style used for front-facing facets.
void setStyle (PaintStyle frontAndBackStyle)
void setOrientation (Orientation)
 Set the orientation of the facets.
Orientation getOrientation () const
 Get the orientation of the facets.
 VRS_TYPEINFO (FaceStyle, MonoAttribute)
 VRS_SERIALIZABLE (FaceStyle)


Detailed Description

Facet Style Attribute.

Member Enumeration Documentation

Enumerator:
AsPoints 
Outlined 
Filled 
Culled 
DoNotChangeStyle 

Enumerator:
Clockwise 
CounterClockwise 
Reverse 
DoNotChange 


Constructor & Destructor Documentation

VRS::FaceStyle::FaceStyle ( PaintStyle  frontStyle = FaceStyle::Filled,
PaintStyle  back = FaceStyle::Filled,
Orientation  orientation = FaceStyle::DoNotChange 
)

Specifies the apprearance of facets, distinguishing front- and back-faces. Additionally, the orientation of faces can be modified; the default is not to change the orientation.


Member Function Documentation

VRS::FaceStyle::VRS_SERIALIZABLE_CLASS_ENUM ( PaintStyle   ) 

VRS::FaceStyle::VRS_SERIALIZABLE_CLASS_ENUM ( Orientation   ) 

bool VRS::FaceStyle::operator== ( const FaceStyle other  )  const

void VRS::FaceStyle::setFrontStyle ( PaintStyle  frontstyle  ) 

FaceStyle::PaintStyle VRS::FaceStyle::getFrontStyle (  )  const [inline]

Set resp. get the paint style used for front-facing facets.

void VRS::FaceStyle::setBackStyle ( PaintStyle  backstyle  ) 

FaceStyle::PaintStyle VRS::FaceStyle::getBackStyle (  )  const [inline]

Set resp. get the paint style used for front-facing facets.

void VRS::FaceStyle::setStyle ( PaintStyle  frontAndBackStyle  ) 

void VRS::FaceStyle::setOrientation ( Orientation   ) 

Set the orientation of the facets.

FaceStyle::Orientation VRS::FaceStyle::getOrientation (  )  const [inline]

Get the orientation of the facets.

VRS::FaceStyle::VRS_TYPEINFO ( FaceStyle  ,
MonoAttribute   
)

VRS::FaceStyle::VRS_SERIALIZABLE ( FaceStyle   ) 


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

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