#include <Primitive.h>
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 NVector3 & | normal () const |
Polygone (const std::vector< Feedback3DColor > &) | |
virtual const Feedback3DColor & | sommet3DColor (int) const |
virtual const Vector3 & | vertex (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 |
Definition at line 185 of file Primitive.h.
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.
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.
void vrender::Polygone::CheckInfoForPositionOperators | ( | ) | [protected] |
double Polygone::equation | ( | const Vector3 & | p | ) | const |
Definition at line 116 of file Primitive.cpp.
FLOAT vrender::Polygone::FlatFactor | ( | ) | const [inline] |
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.
AxisAlignedBox_xyz vrender::Polygone::_bbox [protected] |
Definition at line 209 of file Primitive.h.
double vrender::Polygone::_c [protected] |
Definition at line 215 of file Primitive.h.
NVector3 vrender::Polygone::_normal [protected] |
Definition at line 216 of file Primitive.h.
std::vector<Feedback3DColor> vrender::Polygone::_vertices [protected] |
Definition at line 210 of file Primitive.h.
double vrender::Polygone::anglefactor [protected] |
Definition at line 213 of file Primitive.h.