#include <Primitive.h>
Public Member Functions | |
virtual AxisAlignedBox_xyz | bbox () const |
double | c () const |
double | equation (const Vector3 &p) const |
FLOAT | FlatFactor () const |
virtual size_t | nbVertices () const |
const NVector3 & | normal () const |
Polygone (const std::vector< Feedback3DColor > &) | |
virtual const Feedback3DColor & | sommet3DColor (size_t) const |
virtual const Vector3 & | vertex (size_t) 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 184 of file Primitive.h.
Polygone::Polygone | ( | const std::vector< Feedback3DColor > & | ) |
Definition at line 103 of file Primitive.cpp.
|
inlinevirtual |
Definition at line 188 of file Primitive.h.
|
virtual |
Implements vrender::Primitive.
Definition at line 112 of file Primitive.cpp.
|
inline |
Definition at line 200 of file Primitive.h.
|
protected |
double Polygone::equation | ( | const Vector3 & | p | ) | const |
Definition at line 117 of file Primitive.cpp.
|
inline |
Definition at line 202 of file Primitive.h.
|
protectedvirtual |
Definition at line 122 of file Primitive.cpp.
|
inlinevirtual |
Implements vrender::Primitive.
Definition at line 196 of file Primitive.h.
|
inline |
Definition at line 199 of file Primitive.h.
|
virtual |
Implements vrender::Primitive.
Definition at line 92 of file Primitive.cpp.
|
virtual |
Implements vrender::Primitive.
Definition at line 97 of file Primitive.cpp.
|
protected |
Definition at line 208 of file Primitive.h.
|
protected |
Definition at line 214 of file Primitive.h.
|
protected |
Definition at line 215 of file Primitive.h.
|
protected |
Definition at line 209 of file Primitive.h.
|
protected |
Definition at line 212 of file Primitive.h.