|
Blender V5.0
|
#include <ViewMap.h>
Inherits Freestyle::Interface0D.
Inherited by Freestyle::NonTVertex, and Freestyle::TVertex.
Public Attributes | |
| void * | userdata |
Protected Member Functions | |
| ViewVertex (ViewVertex &iBrother) | |
| virtual ViewVertex * | duplicate ()=0 |
Friends | |
| class | ViewShape |
Class to define a view vertex. A view vertex is a feature vertex corresponding to a point of the image graph, where the characteristics of an edge might change (nature, visibility, ...). A ViewVertex can be of two kinds: a TVertex when it corresponds to the intersection between two ViewEdges or a NonTVertex when it corresponds to a vertex of the initial input mesh (it is the case for vertices such as corners for example). Thus, this class can be specialized into two classes, the TVertex class and the NonTVertex class.
| typedef pair<ViewEdge *, bool> Freestyle::ViewVertex::directedViewEdge |
|
inline |
Default constructor.
Definition at line 282 of file ViewMap.h.
References userdata, and Freestyle::Nature::VIEW_VERTEX.
Referenced by Freestyle::NonTVertex::castToViewVertex(), Freestyle::TVertex::castToViewVertex(), Freestyle::NonTVertex::duplicate(), Freestyle::TVertex::duplicate(), duplicate(), Freestyle::NonTVertex::NonTVertex(), Freestyle::NonTVertex::NonTVertex(), Freestyle::NonTVertex::NonTVertex(), Freestyle::TVertex::TVertex(), Freestyle::TVertex::TVertex(), Freestyle::TVertex::TVertex(), and ViewVertex().
|
inline |
Definition at line 288 of file ViewMap.h.
References userdata, and Freestyle::Nature::VIEW_VERTEX.
|
inlineprotected |
|
inlinevirtual |
|
protectedpure virtual |
Cloning method.
Implemented in Freestyle::NonTVertex, and Freestyle::TVertex.
References ViewVertex().
Referenced by Freestyle::ViewShape::ViewShape().
|
pure virtual |
Implemented in Freestyle::NonTVertex, and Freestyle::TVertex.
|
pure virtual |
Implemented in Freestyle::NonTVertex, and Freestyle::TVertex.
|
pure virtual |
Implemented in Freestyle::NonTVertex, and Freestyle::TVertex.
|
pure virtual |
Implemented in Freestyle::NonTVertex, and Freestyle::TVertex.
|
pure virtual |
Implemented in Freestyle::NonTVertex, and Freestyle::TVertex.
|
pure virtual |
Implemented in Freestyle::NonTVertex, and Freestyle::TVertex.
|
pure 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).
Implemented in Freestyle::NonTVertex, and Freestyle::TVertex.
Referenced by Freestyle::AdjacencyIterator::AdjacencyIterator().
|
pure virtual |
Returns an orientedViewEdgeIterator over the ViewEdges around this ViewVertex, pointing after the last ViewEdge.
Implemented in Freestyle::NonTVertex, and Freestyle::TVertex.
|
pure virtual |
Returns an orientedViewEdgeIterator pointing to the ViewEdge given as argument.
Implemented in Freestyle::NonTVertex, and Freestyle::TVertex.
|
inlinevirtual |
Returns the string "ViewVertex".
Reimplemented from Freestyle::Interface0D.
Reimplemented in Freestyle::NonTVertex, and Freestyle::TVertex.
Definition at line 256 of file ViewMap.h.
Referenced by Any_BPy_ViewVertex_from_ViewVertex().
|
inlinevirtual |
Returns the nature of the vertex.
Reimplemented from Freestyle::Interface0D.
Definition at line 312 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::computeCusps(), and Freestyle::ChainSilhouetteIterator::traverse().
Reimplemented in Freestyle::NonTVertex, and Freestyle::TVertex.
Definition at line 325 of file ViewMap.h.
Referenced by Freestyle::ViewShape::SplitEdge().
|
inline |
Sets the nature of the vertex.
Definition at line 319 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::computeCusps().
|
friend |
| void* Freestyle::ViewVertex::userdata |
A field that can be used by the user to store any data. This field must be reset afterwards using ResetUserData().
Definition at line 279 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), ViewVertex(), ViewVertex(), and ViewVertex().