|
Blender V4.3
|
#include <Rep.h>
Inherits Freestyle::BaseObject.
Inherited by Freestyle::IndexedFaceSet, Freestyle::LineRep, Freestyle::TriangleRep, and Freestyle::VertexRep.
Public Member Functions | |
| Rep () | |
| Rep (const Rep &iBrother) | |
| void | swap (Rep &ioOther) |
| Rep & | operator= (const Rep &iBrother) |
| virtual | ~Rep () |
| virtual void | accept (SceneVisitor &v) |
| virtual void | ComputeBBox ()=0 |
| 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 () |
|
inline |
|
inlinevirtual |
Accept the corresponding visitor Must be overload by inherited classes
Reimplemented in Freestyle::IndexedFaceSet, Freestyle::LineRep, Freestyle::OrientedLineRep, Freestyle::TriangleRep, and Freestyle::VertexRep.
Definition at line 96 of file Rep.h.
References v.
Referenced by Freestyle::IndexedFaceSet::accept(), Freestyle::LineRep::accept(), Freestyle::OrientedLineRep::accept(), Freestyle::TriangleRep::accept(), and Freestyle::VertexRep::accept().
Returns the rep bounding box
Definition at line 111 of file Rep.h.
Referenced by Freestyle::NodeShape::AddRep(), operator=(), and Rep().
|
pure virtual |
Computes the rep bounding box. Each Inherited rep must compute its bbox depending on the way the data are stored. So, each inherited class must overload this method
Implemented in Freestyle::IndexedFaceSet, Freestyle::LineRep, Freestyle::TriangleRep, and Freestyle::VertexRep.
|
inline |
Definition at line 131 of file Rep.h.
Referenced by Freestyle::OrientedLineRep::accept(), and Freestyle::WingedEdgeBuilder::buildWShape().
|
inline |
Sets the Rep bounding box
Definition at line 137 of file Rep.h.
Referenced by Freestyle::IndexedFaceSet::ComputeBBox(), Freestyle::LineRep::ComputeBBox(), Freestyle::TriangleRep::ComputeBBox(), Freestyle::VertexRep::ComputeBBox(), and Freestyle::BlenderFileLoader::insertShapeNode().
|
inline |
|
inline |
Definition at line 142 of file Rep.h.
Referenced by Freestyle::BlenderFileLoader::insertShapeNode().
|
inline |
Definition at line 152 of file Rep.h.
Referenced by Freestyle::BlenderFileLoader::insertShapeNode().
|
inline |
Definition at line 147 of file Rep.h.
Referenced by Freestyle::BlenderFileLoader::insertShapeNode().
|
inline |
Definition at line 54 of file Rep.h.
Referenced by Freestyle::IndexedFaceSet::swap().