Blender V4.3
Freestyle::CurveInternal::__point_iterator< Traits > Class Template Reference

#include <CurveAdvancedIterators.h>

Inherits Freestyle::IteratorBase< Traits, BidirectionalIteratorTag_Traits >.

Public Types

typedef __point_iterator< TraitsSelf
 
typedef Traits::vertex_container_iterator vertex_container_iterator
 
typedef Traits::vertex_type vertex_type
 
typedef CurvePoint Point
 
typedef Point point_type
 
typedef __point_iterator< CurvePoint_nonconst_traitsiterator
 
typedef __point_iterator< CurvePoint_const_traitsconst_iterator
 
typedef IteratorBase< Traits, BidirectionalIteratorTag_Traitsparent_class
 
- Public Types inherited from Freestyle::IteratorBase< Traits, BidirectionalIteratorTag_Traits >
typedef BidirectionalIteratorTag_Traits::iterator_category iterator_category
 
typedef Traits::value_type value_type
 
typedef Traits::difference_type difference_type
 
typedef Traits::pointer pointer
 
typedef Traits::reference reference
 

Public Member Functions

 __point_iterator (float step=0.0f)
 
 __point_iterator (const iterator &iBrother)
 
 __point_iterator (const const_iterator &iBrother)
 
Selfoperator= (const Self &iBrother)
 
virtual ~__point_iterator ()
 
 __point_iterator (vertex_container_iterator iA, vertex_container_iterator iB, vertex_container_iterator ibegin, vertex_container_iterator iend, int currentn, int n, float step, float t=0.0f, float iCurvilinearLength=0.0f)
 
Selfoperator++ ()
 
Self operator++ (int)
 
Selfoperator-- ()
 
Self operator-- (int)
 
virtual bool operator!= (const Self &b) const
 
virtual bool operator== (const Self &b) const
 
virtual Traits::reference operator* () const
 
virtual Traits::pointer operator-> () const
 
virtual bool begin () const
 
virtual bool end () const
 
- Public Member Functions inherited from Freestyle::IteratorBase< Traits, BidirectionalIteratorTag_Traits >
virtual ~IteratorBase ()
 

Public Attributes

float _CurvilinearLength
 
float _step
 
vertex_container_iterator __A
 
vertex_container_iterator __B
 
vertex_container_iterator _begin
 
vertex_container_iterator _end
 
int _n
 
int _currentn
 
float _t
 
Point_Point
 

Protected Member Functions

virtual void increment ()
 
virtual void decrement ()
 
- Protected Member Functions inherited from Freestyle::IteratorBase< Traits, BidirectionalIteratorTag_Traits >
 IteratorBase ()
 

Friends

class Curve
 

Detailed Description

template<class Traits>
class Freestyle::CurveInternal::__point_iterator< Traits >

iterator on a curve. Allows an iterating outside initial vertices. A CurvePoint is instantiated and returned when the iterator is dereferenced.

Definition at line 45 of file CurveAdvancedIterators.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 54 of file CurveAdvancedIterators.h.

◆ iterator

◆ parent_class

◆ Point

Definition at line 50 of file CurveAdvancedIterators.h.

◆ point_type

template<class Traits >
typedef Point Freestyle::CurveInternal::__point_iterator< Traits >::point_type

Definition at line 51 of file CurveAdvancedIterators.h.

◆ Self

Definition at line 47 of file CurveAdvancedIterators.h.

◆ vertex_container_iterator

template<class Traits >
typedef Traits::vertex_container_iterator Freestyle::CurveInternal::__point_iterator< Traits >::vertex_container_iterator

Definition at line 48 of file CurveAdvancedIterators.h.

◆ vertex_type

template<class Traits >
typedef Traits::vertex_type Freestyle::CurveInternal::__point_iterator< Traits >::vertex_type

Definition at line 49 of file CurveAdvancedIterators.h.

Constructor & Destructor Documentation

◆ __point_iterator() [1/4]

◆ __point_iterator() [2/4]

◆ __point_iterator() [3/4]

◆ ~__point_iterator()

◆ __point_iterator() [4/4]

Member Function Documentation

◆ begin()

◆ decrement()

◆ end()

◆ increment()

◆ operator!=()

◆ operator*()

◆ operator++() [1/2]

◆ operator++() [2/2]

◆ operator--() [1/2]

◆ operator--() [2/2]

◆ operator->()

template<class Traits >
virtual Traits::pointer Freestyle::CurveInternal::__point_iterator< Traits >::operator-> ( ) const
inlinevirtual

◆ operator=()

◆ operator==()

template<class Traits >
virtual bool Freestyle::CurveInternal::__point_iterator< Traits >::operator== ( const Self & b) const
inlinevirtual

Definition at line 229 of file CurveAdvancedIterators.h.

References b.

Friends And Related Symbol Documentation

◆ Curve

template<class Traits >
friend class Curve
friend

Definition at line 71 of file CurveAdvancedIterators.h.

Member Data Documentation

◆ __A

◆ __B

◆ _begin

◆ _currentn

◆ _CurvilinearLength

◆ _end

◆ _n

◆ _Point

◆ _step

◆ _t


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