|
Blender V4.3
|
#include <LineRep.h>
Inherits Freestyle::Rep.
Inherited by Freestyle::OrientedLineRep.
Public Types | |
| enum | LINES_STYLE { LINES , LINE_STRIP , LINE_LOOP } |
Public Member Functions | |
| LineRep () | |
| LineRep (const Vec3r &v1, const Vec3r &v2) | |
| LineRep (const vector< Vec3r > &vertices) | |
| LineRep (const list< Vec3r > &vertices) | |
| virtual | ~LineRep () |
| const LINES_STYLE | style () const |
| const vector< Vec3r > & | vertices () const |
| float | width () const |
| void | setStyle (const LINES_STYLE iStyle) |
| void | AddVertex (const Vec3r &iVertex) |
| void | setVertices (const vector< Vec3r > &iVertices) |
| void | setWidth (float iWidth) |
| 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 () |
Builds a single line from 2 vertices v1 first vertex v2 second vertex
Definition at line 44 of file LineRep.h.
References AddVertex(), LINES, setStyle(), and v2.
Builds a line rep from a vertex chain
Definition at line 53 of file LineRep.h.
References LINE_STRIP, setStyle(), and vertices().
|
inline |
Builds a line rep from a vertex chain
Definition at line 61 of file LineRep.h.
References LINE_STRIP, setStyle(), and v.
|
inlinevirtual |
Accept the corresponding visitor
Reimplemented from Freestyle::Rep.
Reimplemented in Freestyle::OrientedLineRep.
Definition at line 119 of file LineRep.h.
References Freestyle::Rep::accept(), and v.
|
inline |
Definition at line 97 of file LineRep.h.
Referenced by Freestyle::ViewMapTesselator2D::AddVertexToLine(), Freestyle::ViewMapTesselator3D::AddVertexToLine(), and LineRep().
|
virtual |
Computes the line bounding box.
Implements Freestyle::Rep.
Definition at line 14 of file LineRep.cpp.
References Freestyle::Rep::setBBox(), and v.
|
inline |
|
inline |