|
Blender V4.3
|
#include <ViewMap.h>
Inherits Freestyle::Interface0D.
Inherited by Freestyle::NonTVertex, and Freestyle::TVertex.
Public Types | |
| typedef pair< ViewEdge *, bool > | directedViewEdge |
| typedef vector< directedViewEdge > | edges_container |
| typedef ViewVertexInternal::edge_iterator_base< ViewVertexInternal::edge_nonconst_traits > | edge_iterator |
| typedef ViewVertexInternal::edge_iterator_base< ViewVertexInternal::edge_const_traits > | const_edge_iterator |
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 286 of file ViewMap.h.
References userdata, and Freestyle::Nature::VIEW_VERTEX.
|
inline |
Definition at line 292 of file ViewMap.h.
References userdata, and Freestyle::Nature::VIEW_VERTEX.
|
inlineprotected |
|
inlinevirtual |
|
protectedpure virtual |
Cloning method.
Implemented in Freestyle::NonTVertex, and Freestyle::TVertex.
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 260 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 316 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::computeCusps(), Freestyle::SVertex::getNature(), and Freestyle::ChainSilhouetteIterator::traverse().
Reimplemented in Freestyle::NonTVertex, and Freestyle::TVertex.
Definition at line 329 of file ViewMap.h.
Referenced by Freestyle::ViewShape::SplitEdge().
|
inline |
Sets the nature of the vertex.
Definition at line 323 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::computeCusps().
| 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 283 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), ViewVertex(), ViewVertex(), and ViewVertex().