Blender
V3.3
|
#include <ChainingIterators.h>
Additional Inherited Members | |
![]() | |
ViewEdge * | result |
void * | py_c_it |
![]() | |
bool | _restrictToSelection |
bool | _restrictToUnvisited |
bool | _increment |
![]() | |
bool | _orientation |
ViewEdge * | _edge |
ViewEdge * | _begin |
A ViewEdge Iterator used to follow ViewEdges the most naturally. For example, it will follow visible ViewEdges of same nature. As soon, as the nature or the visibility changes, the iteration stops (by setting the pointed ViewEdge to 0). In the case of an iteration over a set of ViewEdge that are both Silhouette and Crease, there will be a precedence of the silhouette over the crease criterion.
Definition at line 250 of file ChainingIterators.h.
|
inline |
Builds a ChainSilhouetteIterator from the first ViewEdge used for iteration and its orientation.
iRestrictToSelection | Indicates whether to force the chaining to stay within the set of selected ViewEdges or not. |
begin | The ViewEdge from where to start the iteration. |
orientation | If true, we'll look for the next ViewEdge among the ViewEdges that surround the ending ViewVertex of begin. If false, we'll search over the ViewEdges surrounding the ending ViewVertex of begin. |
Definition at line 264 of file ChainingIterators.h.
|
inline |
Copy constructor
Definition at line 272 of file ChainingIterators.h.
|
inlinevirtual |
Returns the string "ChainSilhouetteIterator"
Reimplemented from Freestyle::ChainingIterator.
Definition at line 277 of file ChainingIterators.h.
|
inlinevirtual |
Initializes the iterator context
Reimplemented from Freestyle::ChainingIterator.
Definition at line 289 of file ChainingIterators.h.
|
virtual |
This method iterates over the potential next ViewEdges and returns the one that will be followed next. When reaching the end of a chain, 0 is returned.
Reimplemented from Freestyle::ChainingIterator.
Definition at line 123 of file ChainingIterators.cpp.
References ARRAY_SIZE, Freestyle::Nature::BORDER, Freestyle::Nature::CREASE, Freestyle::Nature::EDGE_MARK, Freestyle::ViewEdgeInternal::ViewEdgeIterator::getCurrentEdge(), Freestyle::ViewVertex::getNature(), Freestyle::ViewEdge::getNature(), Freestyle::ChainingIterator::getVertex(), Freestyle::AdjacencyIterator::isEnd(), Freestyle::Nature::MATERIAL_BOUNDARY, Freestyle::Nature::NON_T_VERTEX, Freestyle::ChainingIterator::result, Freestyle::Nature::RIDGE, Freestyle::Nature::SILHOUETTE, Freestyle::Nature::SUGGESTIVE_CONTOUR, Freestyle::Nature::T_VERTEX, and Freestyle::Nature::VALLEY.