Blender V4.3
Freestyle::Chain Class Reference

#include <Chain.h>

Inherits Freestyle::Curve.

Public Member Functions

 Chain ()
 
 Chain (const Id &id)
 
 Chain (const Chain &iBrother)
 
virtual ~Chain ()
 
virtual string getExactTypeName () const
 
void push_viewedge_back (ViewEdge *iViewEdge, bool orientation)
 
void push_viewedge_front (ViewEdge *iViewEdge, bool orientation)
 
void setSplittingId (Id *sid)
 
IdgetSplittingId ()
 
- Public Member Functions inherited from Freestyle::Curve
 Curve ()
 
 Curve (const Id &id)
 
 Curve (const Curve &iBrother)
 
virtual ~Curve ()
 
void push_vertex_back (Vertex *iVertex)
 
void push_vertex_back (SVertex *iVertex)
 
void push_vertex_front (Vertex *iVertex)
 
void push_vertex_front (SVertex *iVertex)
 
bool empty () const
 
real getLength2D () const
 
virtual Id getId () const
 
uint nSegments () const
 
void setId (const Id &id)
 
point_iterator points_begin (float step=0)
 
const_point_iterator points_begin (float step=0) const
 
point_iterator points_end (float step=0)
 
const_point_iterator points_end (float step=0) const
 
point_iterator vertices_begin ()
 
const_point_iterator vertices_begin () const
 
point_iterator vertices_end ()
 
const_point_iterator vertices_end () const
 
CurveInternal::CurvePointIterator curvePointsBegin (float t=0.0f)
 
CurveInternal::CurvePointIterator curvePointsEnd (float t=0.0f)
 
CurveInternal::CurvePointIterator curveVerticesBegin ()
 
CurveInternal::CurvePointIterator curveVerticesEnd ()
 
virtual Interface0DIterator verticesBegin ()
 
virtual Interface0DIterator verticesEnd ()
 
virtual Interface0DIterator pointsBegin (float t=0.0f)
 
virtual Interface0DIterator pointsEnd (float t=0.0f)
 
- Public Member Functions inherited from Freestyle::Interface1D
 Interface1D ()
 
virtual ~Interface1D ()
 
virtual Nature::EdgeNature getNature () const
 
virtual uint getTimeStamp () const
 
void setTimeStamp (uint iTimeStamp)
 

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_traitspoint_iterator
 
typedef CurveInternal::__point_iterator< CurveInternal::CurvePoint_const_traitsconst_point_iterator
 
typedef point_iterator vertex_iterator
 
typedef const_point_iterator const_vertex_iterator
 

Detailed Description

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.

Definition at line 21 of file Chain.h.

Constructor & Destructor Documentation

◆ Chain() [1/3]

Freestyle::Chain::Chain ( )
inline

Default constructor.

Definition at line 30 of file Chain.h.

References _fedgeB, and _splittingId.

◆ Chain() [2/3]

Freestyle::Chain::Chain ( const Id & id)
inline

Builds a chain from its Id.

Definition at line 37 of file Chain.h.

References _fedgeB, and _splittingId.

◆ Chain() [3/3]

Freestyle::Chain::Chain ( const Chain & iBrother)
inline

Copy Constructor

Definition at line 44 of file Chain.h.

References _fedgeB, and _splittingId.

◆ ~Chain()

virtual Freestyle::Chain::~Chain ( )
inlinevirtual

Destructor.

Definition at line 51 of file Chain.h.

References Freestyle::Curve::_Id, and _splittingId.

Member Function Documentation

◆ getExactTypeName()

virtual string Freestyle::Chain::getExactTypeName ( ) const
inlinevirtual

Returns the string "Chain"

Reimplemented from Freestyle::Curve.

Definition at line 62 of file Chain.h.

◆ getSplittingId()

Id * Freestyle::Chain::getSplittingId ( )
inline

Definition at line 88 of file Chain.h.

References _splittingId.

Referenced by Freestyle::__recursiveSplit(), and Freestyle::__recursiveSplit().

◆ push_viewedge_back()

◆ push_viewedge_front()

◆ setSplittingId()

void Freestyle::Chain::setSplittingId ( Id * sid)
inline

Definition at line 83 of file Chain.h.

References _splittingId.

Referenced by Freestyle::__recursiveSplit(), and Freestyle::__recursiveSplit().

Member Data Documentation

◆ _fedgeB

FEdge* Freestyle::Chain::_fedgeB
protected

Definition at line 26 of file Chain.h.

Referenced by Chain(), Chain(), Chain(), push_viewedge_back(), and push_viewedge_front().

◆ _splittingId

Id* Freestyle::Chain::_splittingId
protected

Definition at line 24 of file Chain.h.

Referenced by Chain(), Chain(), Chain(), getSplittingId(), setSplittingId(), and ~Chain().


The documentation for this class was generated from the following files: