Blender
V3.3
|
#include <Chain.h>
Protected Attributes | |
Id * | _splittingId |
FEdge * | _fedgeB |
![]() | |
vertex_container | _Vertices |
double | _Length |
Id | _Id |
unsigned | _nSegments |
![]() | |
unsigned | _timeStamp |
Additional Inherited Members | |
![]() | |
typedef CurvePoint | Vertex |
typedef CurvePoint | Point |
typedef Point | point_type |
typedef Vertex | vertex_type |
typedef deque< Vertex * > | vertex_container |
typedef CurveInternal::__point_iterator< CurveInternal::CurvePoint_nonconst_traits > | point_iterator |
typedef CurveInternal::__point_iterator< CurveInternal::CurvePoint_const_traits > | const_point_iterator |
typedef point_iterator | vertex_iterator |
typedef const_point_iterator | const_vertex_iterator |
Class to represent a 1D elements issued from the chaining process. A Chain is the last step before the Stroke and is used in the Splitting and Creation processes.
|
inline |
|
inline |
Builds a chain from its Id.
Definition at line 35 of file Chain.h.
References _fedgeB, and _splittingId.
|
inline |
|
inlinevirtual |
Destructor.
Definition at line 49 of file Chain.h.
References Freestyle::Curve::_Id, and _splittingId.
|
inlinevirtual |
Returns the string "Chain"
Reimplemented from Freestyle::Curve.
|
inline |
Definition at line 86 of file Chain.h.
References _splittingId.
Referenced by Freestyle::__recursiveSplit().
Adds a ViewEdge at the end of the chain
iViewEdge | The ViewEdge that must be added. |
orientation | The orientation with which this ViewEdge must be processed. |
Definition at line 15 of file Chain.cpp.
References _fedgeB, Freestyle::Curve::_Vertices, Freestyle::SShape::AddEdge(), Freestyle::SVertex::AddFEdge(), Freestyle::FEdge::duplicate(), Freestyle::ViewEdge::fedgeA(), Freestyle::ViewEdge::fedgeB(), Freestyle::Curve::push_vertex_back(), Freestyle::CurvePoint::setA(), Freestyle::FEdge::setTemporary(), Freestyle::FEdge::setVertexB(), Freestyle::SVertex::shape(), v, Freestyle::FEdge::vertexA(), Freestyle::FEdge::vertexB(), Freestyle::ViewEdge::vertices_begin(), Freestyle::ViewEdge::vertices_end(), and Freestyle::ViewEdge::vertices_last().
Referenced by Freestyle::Operators::bidirectionalChain(), and Freestyle::Operators::chain().
Adds a ViewEdge at the beginning of the chain
iViewEdge | The ViewEdge that must be added. |
orientation | The orientation with which this ViewEdge must be processed. |
Definition at line 78 of file Chain.cpp.
References _fedgeB, Freestyle::Curve::_Vertices, Freestyle::CurvePoint::A(), Freestyle::SShape::AddEdge(), Freestyle::SVertex::AddFEdge(), Freestyle::FEdge::duplicate(), Freestyle::ViewEdge::fedgeA(), Freestyle::ViewEdge::fedgeB(), Freestyle::Curve::push_vertex_front(), Freestyle::FEdge::setTemporary(), Freestyle::FEdge::setVertexA(), Freestyle::FEdge::setVertexB(), Freestyle::SVertex::shape(), v, Freestyle::ViewEdge::vertices_begin(), Freestyle::ViewEdge::vertices_end(), and Freestyle::ViewEdge::vertices_last().
Referenced by Freestyle::Operators::bidirectionalChain().
Definition at line 81 of file Chain.h.
References _splittingId.
Referenced by Freestyle::__recursiveSplit().
|
protected |
Definition at line 24 of file Chain.h.
Referenced by Chain(), push_viewedge_back(), and push_viewedge_front().
|
protected |
Definition at line 22 of file Chain.h.
Referenced by Chain(), getSplittingId(), setSplittingId(), and ~Chain().