|
Blender V4.3
|
#include <Chain.h>
Inherits Freestyle::Curve.
Protected Attributes | |
| Id * | _splittingId |
| FEdge * | _fedgeB |
Protected Attributes inherited from Freestyle::Curve | |
| vertex_container | _Vertices |
| double | _Length |
| Id | _Id |
| uint | _nSegments |
Protected Attributes inherited from Freestyle::Interface1D | |
| uint | _timeStamp |
Additional Inherited Members | |
Public Types inherited from Freestyle::Curve | |
| 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 37 of file Chain.h.
References _fedgeB, and _splittingId.
|
inline |
|
inlinevirtual |
Destructor.
Definition at line 51 of file Chain.h.
References Freestyle::Curve::_Id, and _splittingId.
|
inlinevirtual |
Returns the string "Chain"
Reimplemented from Freestyle::Curve.
|
inline |
Definition at line 88 of file Chain.h.
References _splittingId.
Referenced by Freestyle::__recursiveSplit(), and Freestyle::__recursiveSplit().
| void Freestyle::Chain::push_viewedge_back | ( | ViewEdge * | iViewEdge, |
| bool | orientation ) |
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 17 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::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(), Freestyle::Operators::bidirectionalChain(), Freestyle::Operators::chain(), and Freestyle::Operators::chain().
| void Freestyle::Chain::push_viewedge_front | ( | ViewEdge * | iViewEdge, |
| bool | orientation ) |
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 80 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::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(), and Freestyle::Operators::bidirectionalChain().
|
inline |
Definition at line 83 of file Chain.h.
References _splittingId.
Referenced by Freestyle::__recursiveSplit(), and Freestyle::__recursiveSplit().
|
protected |
Definition at line 26 of file Chain.h.
Referenced by Chain(), Chain(), Chain(), push_viewedge_back(), and push_viewedge_front().
|
protected |
Definition at line 24 of file Chain.h.
Referenced by Chain(), Chain(), Chain(), getSplittingId(), setSplittingId(), and ~Chain().