|
Blender
V3.3
|
#include <TriangleRep.h>
Public Types | |
| enum | TRIANGLE_STYLE { FILL , LINES } |
Public Member Functions | |
| TriangleRep () | |
| TriangleRep (const Vec3r &v0, const Vec3r &v1, const Vec3r &v2) | |
| TriangleRep (const Vec3r &v0, const Vec3r &c0, const Vec3r &v1, const Vec3r &c1, const Vec3r &v2, const Vec3r &c2) | |
| virtual | ~TriangleRep () |
| const TRIANGLE_STYLE | style () const |
| const Vec3r & | vertex (int index) const |
| const Vec3r & | color (int index) const |
| void | setStyle (const TRIANGLE_STYLE iStyle) |
| void | setVertex (int index, const Vec3r &iVertex) |
| void | setColor (int index, const Vec3r &iColor) |
| void | setVertices (const Vec3r &v0, const Vec3r &v1, const Vec3r &v2) |
| void | setColors (const Vec3r &c0, const Vec3r &c1, const Vec3r &c2) |
| virtual void | accept (SceneVisitor &v) |
| virtual void | ComputeBBox () |
Public Member Functions inherited from Freestyle::Rep | |
| Rep () | |
| Rep (const Rep &iBrother) | |
| void | swap (Rep &ioOther) |
| Rep & | operator= (const Rep &iBrother) |
| virtual | ~Rep () |
| virtual const BBox< Vec3f > & | bbox () const |
| Id | getId () const |
| const string & | getName () const |
| const string & | getLibraryPath () const |
| const FrsMaterial * | frs_material () const |
| virtual void | setBBox (const BBox< Vec3f > &iBox) |
| void | setId (const Id &id) |
| void | setName (const string &name) |
| void | setLibraryPath (const string &path) |
| void | setFrsMaterial (const FrsMaterial &iMaterial) |
Public Member Functions inherited from Freestyle::BaseObject | |
| BaseObject () | |
| virtual | ~BaseObject () |
| virtual int | destroy () |
| int | addRef () |
| int | release () |
Base class for all lines objects
Definition at line 16 of file TriangleRep.h.
|
inline |
Definition at line 30 of file TriangleRep.h.
References FILL.
Builds a triangle from 3 vertices v0 first vertex v1 second vertex v2 third vertex
Definition at line 43 of file TriangleRep.h.
|
inline |
Definition at line 51 of file TriangleRep.h.
|
inlinevirtual |
Definition at line 68 of file TriangleRep.h.
|
inlinevirtual |
Accept the corresponding visitor
Reimplemented from Freestyle::Rep.
Definition at line 119 of file TriangleRep.h.
References Freestyle::Rep::accept(), and v.
|
inline |
Definition at line 83 of file TriangleRep.h.
|
virtual |
Computes the triangle bounding box.
Implements Freestyle::Rep.
Definition at line 12 of file TriangleRep.cpp.
References Freestyle::Rep::setBBox().
Definition at line 99 of file TriangleRep.h.
|
inline |
Definition at line 111 of file TriangleRep.h.
|
inline |
modifiers
Definition at line 89 of file TriangleRep.h.
Definition at line 94 of file TriangleRep.h.
|
inline |
Definition at line 104 of file TriangleRep.h.
|
inline |
accessors
Definition at line 73 of file TriangleRep.h.
|
inline |
Definition at line 78 of file TriangleRep.h.