#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 () |
Public Member Functions inherited from vrender::Primitive | |
virtual | ~Primitive () |
Protected Member Functions | |
void | CheckInfoForPositionOperators () |
virtual void | initNormal () |
Protected Attributes | |
AxisAlignedBox_xyz | _bbox |
double | _c |
NVector3 | _normal |
std::vector< Feedback3DColor > | _vertices |
double | anglefactor |
Protected Attributes inherited from vrender::Primitive | |
int | _vibility |
Definition at line 185 of file Primitive.h.
Polygone::Polygone | ( | const std::vector< Feedback3DColor > & | ) |
Definition at line 102 of file Primitive.cpp.
|
inlinevirtual |
Definition at line 189 of file Primitive.h.
|
virtual |
Implements vrender::Primitive.
Definition at line 111 of file Primitive.cpp.
|
inline |
Definition at line 201 of file Primitive.h.
|
protected |
double Polygone::equation | ( | const Vector3 & | p | ) | const |
Definition at line 116 of file Primitive.cpp.
|
inline |
Definition at line 203 of file Primitive.h.
|
protectedvirtual |
Definition at line 121 of file Primitive.cpp.
|
inlinevirtual |
Implements vrender::Primitive.
Definition at line 197 of file Primitive.h.
|
inline |
Definition at line 200 of file Primitive.h.
|
virtual |
Implements vrender::Primitive.
Definition at line 91 of file Primitive.cpp.
|
virtual |
Implements vrender::Primitive.
Definition at line 96 of file Primitive.cpp.
|
protected |
Definition at line 209 of file Primitive.h.
|
protected |
Definition at line 215 of file Primitive.h.
|
protected |
Definition at line 216 of file Primitive.h.
|
protected |
Definition at line 210 of file Primitive.h.
|
protected |
Definition at line 213 of file Primitive.h.