Public Member Functions | Protected Member Functions | Protected Attributes
vrender::Polygone Class Reference

#include <Primitive.h>

Inheritance diagram for vrender::Polygone:
Inheritance graph

List of all members.

Public Member Functions

virtual AxisAlignedBox_xyz bbox () const
double c () const
double equation (const Vector3 &p) const
FLOAT FlatFactor () const
virtual unsigned int nbVertices () const
const NVector3normal () const
 Polygone (const std::vector< Feedback3DColor > &)
virtual const Feedback3DColorsommet3DColor (int) const
virtual const Vector3vertex (int) const
virtual ~Polygone ()

Protected Member Functions

void CheckInfoForPositionOperators ()
virtual void initNormal ()

Protected Attributes

AxisAlignedBox_xyz _bbox
double _c
NVector3 _normal
std::vector< Feedback3DColor_vertices
double anglefactor

Detailed Description

Definition at line 185 of file Primitive.h.

Constructor & Destructor Documentation

Polygone::Polygone ( const std::vector< Feedback3DColor > &  )

Definition at line 102 of file Primitive.cpp.

virtual vrender::Polygone::~Polygone ( ) [inline, virtual]

Definition at line 189 of file Primitive.h.

Member Function Documentation

AxisAlignedBox_xyz Polygone::bbox ( ) const [virtual]

Implements vrender::Primitive.

Definition at line 111 of file Primitive.cpp.

double vrender::Polygone::c ( ) const [inline]

Definition at line 201 of file Primitive.h.

double Polygone::equation ( const Vector3 p) const

Definition at line 116 of file Primitive.cpp.

Definition at line 203 of file Primitive.h.

void Polygone::initNormal ( ) [protected, virtual]

Definition at line 121 of file Primitive.cpp.

virtual unsigned int vrender::Polygone::nbVertices ( ) const [inline, virtual]

Implements vrender::Primitive.

Definition at line 197 of file Primitive.h.

const NVector3& vrender::Polygone::normal ( ) const [inline]

Definition at line 200 of file Primitive.h.

const Feedback3DColor & Polygone::sommet3DColor ( int  i) const [virtual]

Implements vrender::Primitive.

Definition at line 91 of file Primitive.cpp.

const Vector3 & Polygone::vertex ( int  i) const [virtual]

Implements vrender::Primitive.

Definition at line 96 of file Primitive.cpp.

Member Data Documentation

Definition at line 209 of file Primitive.h.

double vrender::Polygone::_c [protected]

Definition at line 215 of file Primitive.h.

Definition at line 216 of file Primitive.h.

Definition at line 210 of file Primitive.h.

double vrender::Polygone::anglefactor [protected]

Definition at line 213 of file Primitive.h.

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

Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Thu Feb 11 2016 23:51:21