Blender
V3.3
|
#include <LineRep.h>
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 () |
![]() | |
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) |
![]() | |
BaseObject () | |
virtual | ~BaseObject () |
virtual int | destroy () |
int | addRef () |
int | release () |
|
inline |
|
inlinevirtual |
Accept the corresponding visitor
Reimplemented from Freestyle::Rep.
Reimplemented in Freestyle::OrientedLineRep.
Definition at line 117 of file LineRep.h.
References v.
Definition at line 95 of file LineRep.h.
Referenced by Freestyle::ViewMapTesselator2D::AddVertexToLine(), Freestyle::ViewMapTesselator3D::AddVertexToLine(), and Freestyle::StrokeTesselator::Tesselate().
|
virtual |
Computes the line bounding box.
Implements Freestyle::Rep.
Definition at line 12 of file LineRep.cpp.
References Freestyle::Rep::setBBox(), and v.
Referenced by Freestyle::StrokeTesselator::Tesselate(), and Freestyle::ViewMapTesselator::Tesselate().
|
inline |
modifiers
Definition at line 90 of file LineRep.h.
Referenced by Freestyle::StrokeTesselator::Tesselate(), and Freestyle::ViewMapTesselator::Tesselate().
|
inline |