Blender V5.0
Freestyle::NonTVertex Class Reference

#include <ViewMap.h>

Inherits Freestyle::ViewVertex.

Public Types

typedef vector< directedViewEdgeedges_container
Public Types inherited from Freestyle::ViewVertex
typedef pair< ViewEdge *, bool > directedViewEdge
typedef vector< directedViewEdgeedges_container
typedef ViewVertexInternal::edge_iterator_base< ViewVertexInternal::edge_nonconst_traitsedge_iterator
typedef ViewVertexInternal::edge_iterator_base< ViewVertexInternal::edge_const_traitsconst_edge_iterator

Public Member Functions

virtual string getExactTypeName () const
virtual real getX () const
virtual real getY () const
virtual real getZ () const
virtual Vec3r getPoint3D () const
virtual real getProjectedX () const
virtual real getProjectedY () const
virtual real getProjectedZ () const
virtual Vec2r getPoint2D () const
virtual Id getId () const
virtual SVertexcastToSVertex ()
virtual ViewVertexcastToViewVertex ()
virtual NonTVertexcastToNonTVertex ()
 NonTVertex ()
 NonTVertex (SVertex *iSVertex)
virtual ~NonTVertex ()
SVertexsvertex ()
edges_containerviewedges ()
void setSVertex (SVertex *iSVertex)
void setViewEdges (const vector< directedViewEdge > &iViewEdges)
void AddIncomingViewEdge (ViewEdge *iVEdge)
void AddOutgoingViewEdge (ViewEdge *iVEdge)
void AddViewEdge (ViewEdge *iVEdge, bool incoming=true)
virtual void Replace (ViewEdge *iOld, ViewEdge *iNew)
virtual edge_iterator edges_begin ()
virtual const_edge_iterator edges_begin () const
virtual edge_iterator edges_end ()
virtual const_edge_iterator edges_end () const
virtual edge_iterator edges_iterator (ViewEdge *iEdge)
virtual const_edge_iterator edges_iterator (ViewEdge *iEdge) const
virtual ViewVertexInternal::orientedViewEdgeIterator edgesBegin ()
virtual ViewVertexInternal::orientedViewEdgeIterator edgesEnd ()
virtual ViewVertexInternal::orientedViewEdgeIterator edgesIterator (ViewEdge *iEdge)
Public Member Functions inherited from Freestyle::ViewVertex
 ViewVertex ()
 ViewVertex (Nature::VertexNature nature)
virtual ~ViewVertex ()
virtual Nature::VertexNature getNature () const
void setNature (Nature::VertexNature iNature)
Public Member Functions inherited from Freestyle::Interface0D
 Interface0D ()
virtual ~Interface0D ()
virtual FEdgegetFEdge (Interface0D &)
virtual TVertexcastToTVertex ()

Protected Member Functions

 NonTVertex (NonTVertex &iBrother)
virtual ViewVertexduplicate ()
Protected Member Functions inherited from Freestyle::ViewVertex
 ViewVertex (ViewVertex &iBrother)

Additional Inherited Members

Public Attributes inherited from Freestyle::ViewVertex
void * userdata

Detailed Description

View vertex for corners, cusps, etc... Associated to a single SVertex. Can be associated to 2 or several view edges

Definition at line 652 of file ViewMap.h.

Member Typedef Documentation

◆ edges_container

Constructor & Destructor Documentation

◆ NonTVertex() [1/3]

Freestyle::NonTVertex::NonTVertex ( )
inline

Default constructor.

Definition at line 742 of file ViewMap.h.

References Freestyle::ViewVertex::ViewVertex().

Referenced by castToNonTVertex(), duplicate(), and NonTVertex().

◆ NonTVertex() [2/3]

Freestyle::NonTVertex::NonTVertex ( SVertex * iSVertex)
inline

Builds a NonTVertex from a SVertex.

Definition at line 748 of file ViewMap.h.

References Freestyle::SVertex::setViewVertex(), and Freestyle::ViewVertex::ViewVertex().

◆ NonTVertex() [3/3]

Freestyle::NonTVertex::NonTVertex ( NonTVertex & iBrother)
inlineprotected

Copy constructor.

Definition at line 756 of file ViewMap.h.

References NonTVertex(), Freestyle::SVertex::setViewVertex(), and Freestyle::ViewVertex::ViewVertex().

◆ ~NonTVertex()

virtual Freestyle::NonTVertex::~NonTVertex ( )
inlinevirtual

destructor.

Definition at line 772 of file ViewMap.h.

Member Function Documentation

◆ AddIncomingViewEdge()

void Freestyle::NonTVertex::AddIncomingViewEdge ( ViewEdge * iVEdge)

Definition at line 572 of file ViewMap.cpp.

References Freestyle::ViewEdgeComp().

Referenced by AddViewEdge(), and Freestyle::ViewMap::InsertViewVertex().

◆ AddOutgoingViewEdge()

void Freestyle::NonTVertex::AddOutgoingViewEdge ( ViewEdge * iVEdge)

Definition at line 556 of file ViewMap.cpp.

References Freestyle::ViewEdgeComp().

Referenced by AddViewEdge(), and Freestyle::ViewMap::InsertViewVertex().

◆ AddViewEdge()

void Freestyle::NonTVertex::AddViewEdge ( ViewEdge * iVEdge,
bool incoming = true )
inline

Definition at line 802 of file ViewMap.h.

References AddIncomingViewEdge(), and AddOutgoingViewEdge().

◆ castToNonTVertex()

virtual NonTVertex * Freestyle::NonTVertex::castToNonTVertex ( )
inlinevirtual

Cast the Interface0D in NonTVertex if it can be.

Reimplemented from Freestyle::Interface0D.

Definition at line 731 of file ViewMap.h.

References NonTVertex().

◆ castToSVertex()

virtual SVertex * Freestyle::NonTVertex::castToSVertex ( )
inlinevirtual

Cast the Interface0D in SVertex if it can be.

Reimplemented from Freestyle::Interface0D.

Definition at line 719 of file ViewMap.h.

◆ castToViewVertex()

virtual ViewVertex * Freestyle::NonTVertex::castToViewVertex ( )
inlinevirtual

Cast the Interface0D in ViewVertex if it can be.

Reimplemented from Freestyle::Interface0D.

Definition at line 725 of file ViewMap.h.

References Freestyle::ViewVertex::ViewVertex().

◆ duplicate()

virtual ViewVertex * Freestyle::NonTVertex::duplicate ( )
inlineprotectedvirtual

Cloning method.

Implements Freestyle::ViewVertex.

Definition at line 764 of file ViewMap.h.

References NonTVertex(), and Freestyle::ViewVertex::ViewVertex().

◆ edges_begin() [1/2]

ViewVertex::edge_iterator Freestyle::NonTVertex::edges_begin ( )
virtual

Implements Freestyle::ViewVertex.

Definition at line 590 of file ViewMap.cpp.

◆ edges_begin() [2/2]

ViewVertex::const_edge_iterator Freestyle::NonTVertex::edges_begin ( ) const
virtual

Implements Freestyle::ViewVertex.

Definition at line 595 of file ViewMap.cpp.

◆ edges_end() [1/2]

ViewVertex::edge_iterator Freestyle::NonTVertex::edges_end ( )
virtual

Implements Freestyle::ViewVertex.

Definition at line 600 of file ViewMap.cpp.

◆ edges_end() [2/2]

ViewVertex::const_edge_iterator Freestyle::NonTVertex::edges_end ( ) const
virtual

Implements Freestyle::ViewVertex.

Definition at line 605 of file ViewMap.cpp.

◆ edges_iterator() [1/2]

ViewVertex::edge_iterator Freestyle::NonTVertex::edges_iterator ( ViewEdge * iEdge)
virtual

Implements Freestyle::ViewVertex.

Definition at line 610 of file ViewMap.cpp.

◆ edges_iterator() [2/2]

ViewVertex::const_edge_iterator Freestyle::NonTVertex::edges_iterator ( ViewEdge * iEdge) const
virtual

Implements Freestyle::ViewVertex.

Definition at line 622 of file ViewMap.cpp.

◆ edgesBegin()

ViewVertexInternal::orientedViewEdgeIterator Freestyle::NonTVertex::edgesBegin ( )
virtual

Returns an iterator over the ViewEdges that goes to or comes from this ViewVertex pointing to the first ViewEdge of the list. The orientedViewEdgeIterator allows to iterate in CCW order over these ViewEdges and to get the orientation for each ViewEdge (incoming/outgoing).

Implements Freestyle::ViewVertex.

Definition at line 635 of file ViewMap.cpp.

◆ edgesEnd()

ViewVertexInternal::orientedViewEdgeIterator Freestyle::NonTVertex::edgesEnd ( )
virtual

Returns an orientedViewEdgeIterator over the ViewEdges around this ViewVertex, pointing after the last ViewEdge.

Implements Freestyle::ViewVertex.

Definition at line 641 of file ViewMap.cpp.

◆ edgesIterator()

ViewVertexInternal::orientedViewEdgeIterator Freestyle::NonTVertex::edgesIterator ( ViewEdge * iEdge)
virtual

Returns an orientedViewEdgeIterator pointing to the ViewEdge given as argument.

Implements Freestyle::ViewVertex.

Definition at line 647 of file ViewMap.cpp.

◆ getExactTypeName()

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

Returns the string "ViewVertex".

Reimplemented from Freestyle::ViewVertex.

Definition at line 658 of file ViewMap.h.

◆ getId()

virtual Id Freestyle::NonTVertex::getId ( ) const
inlinevirtual

Returns the Id of the vertex.

Reimplemented from Freestyle::Interface0D.

Definition at line 713 of file ViewMap.h.

◆ getPoint2D()

virtual Vec2r Freestyle::NonTVertex::getPoint2D ( ) const
inlinevirtual

Returns the 2D point.

Reimplemented from Freestyle::Interface0D.

Definition at line 707 of file ViewMap.h.

◆ getPoint3D()

virtual Vec3r Freestyle::NonTVertex::getPoint3D ( ) const
inlinevirtual

Returns the 3D point.

Reimplemented from Freestyle::Interface0D.

Definition at line 683 of file ViewMap.h.

◆ getProjectedX()

virtual real Freestyle::NonTVertex::getProjectedX ( ) const
inlinevirtual

Returns the projected 3D. Y coordinate of the vertex.

Reimplemented from Freestyle::Interface0D.

Definition at line 689 of file ViewMap.h.

◆ getProjectedY()

virtual real Freestyle::NonTVertex::getProjectedY ( ) const
inlinevirtual

Returns the projected 3D. Y coordinate of the vertex.

Reimplemented from Freestyle::Interface0D.

Definition at line 695 of file ViewMap.h.

◆ getProjectedZ()

virtual real Freestyle::NonTVertex::getProjectedZ ( ) const
inlinevirtual

Returns the projected 3D. Z coordinate of the vertex.

Reimplemented from Freestyle::Interface0D.

Definition at line 701 of file ViewMap.h.

◆ getX()

virtual real Freestyle::NonTVertex::getX ( ) const
inlinevirtual

Returns the 3D x coordinate of the vertex.

Reimplemented from Freestyle::Interface0D.

Definition at line 665 of file ViewMap.h.

◆ getY()

virtual real Freestyle::NonTVertex::getY ( ) const
inlinevirtual

Returns the 3D y coordinate of the vertex.

Reimplemented from Freestyle::Interface0D.

Definition at line 671 of file ViewMap.h.

◆ getZ()

virtual real Freestyle::NonTVertex::getZ ( ) const
inlinevirtual

Returns the 3D z coordinate of the vertex.

Reimplemented from Freestyle::Interface0D.

Definition at line 677 of file ViewMap.h.

◆ Replace()

virtual void Freestyle::NonTVertex::Replace ( ViewEdge * iOld,
ViewEdge * iNew )
inlinevirtual

Reimplemented from Freestyle::ViewVertex.

Definition at line 813 of file ViewMap.h.

Referenced by Freestyle::ViewMap::InsertViewVertex().

◆ setSVertex()

void Freestyle::NonTVertex::setSVertex ( SVertex * iSVertex)
inline

Sets the SVertex on top of which this NonTVertex is built.

Definition at line 788 of file ViewMap.h.

References Freestyle::SVertex::setViewVertex().

◆ setViewEdges()

void Freestyle::NonTVertex::setViewEdges ( const vector< directedViewEdge > & iViewEdges)
inline

Definition at line 794 of file ViewMap.h.

◆ svertex()

SVertex * Freestyle::NonTVertex::svertex ( )
inline

Returns the SVertex on top of which this NonTVertex is built.

Definition at line 776 of file ViewMap.h.

◆ viewedges()

edges_container & Freestyle::NonTVertex::viewedges ( )
inline

Definition at line 781 of file ViewMap.h.


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