|
Blender V5.0
|
#include <ViewMap.h>
Inherits Freestyle::Interface1D.
Public Attributes | |
| void * | userdata |
Friends | |
| class | ViewShape |
Additional Inherited Members | |
| Protected Attributes inherited from Freestyle::Interface1D | |
| uint | _timeStamp |
Class defining a ViewEdge. A ViewEdge in an edge of the image graph. it connects two ViewVertex. It is made by connecting a set of FEdges.
|
inline |
Default constructor.
Definition at line 947 of file ViewMap.h.
References userdata.
Referenced by duplicate(), ViewEdge(), and ViewEdge_iterator().
|
inline |
|
inline |
|
inline |
Definition at line 991 of file ViewMap.h.
References UpdateFEdges(), userdata, and ViewShape.
|
inline |
|
inlinevirtual |
|
inline |
Returns the first ViewVertex.
Definition at line 1055 of file ViewMap.h.
Referenced by Freestyle::ViewMap::InsertViewVertex(), and Freestyle::ViewShape::SplitEdge().
|
inline |
|
inline |
Returns the shape that is occluded by the ViewShape to which this ViewEdge belongs to. If no object is occluded, nullptr is returned.
Definition at line 1087 of file ViewMap.h.
References ViewShape.
Referenced by Freestyle::Functions0D::getOccludeeF0D(), Freestyle::Functions1D::getOccludeeF1D(), and Freestyle::Functions1D::GetOccludeeF1D::operator()().
|
inline |
|
inline |
Returns the second ViewVertex.
Definition at line 1061 of file ViewMap.h.
Referenced by Freestyle::ViewMap::InsertViewVertex(), and Freestyle::ViewShape::SplitEdge().
|
inline |
|
inlinevirtual |
Cloning method.
Definition at line 1029 of file ViewMap.h.
References ViewEdge().
Referenced by Freestyle::ViewShape::ViewShape().
| ViewEdge::fedge_iterator Freestyle::ViewEdge::fedge_iterator_begin | ( | ) |
| ViewEdge::const_fedge_iterator Freestyle::ViewEdge::fedge_iterator_begin | ( | ) | const |
Definition at line 700 of file ViewMap.cpp.
| ViewEdge::fedge_iterator Freestyle::ViewEdge::fedge_iterator_end | ( | ) |
Definition at line 715 of file ViewMap.cpp.
Referenced by getLength2D().
| ViewEdge::const_fedge_iterator Freestyle::ViewEdge::fedge_iterator_end | ( | ) | const |
Definition at line 720 of file ViewMap.cpp.
| ViewEdge::fedge_iterator Freestyle::ViewEdge::fedge_iterator_last | ( | ) |
Definition at line 705 of file ViewMap.cpp.
Referenced by getLength2D().
| ViewEdge::const_fedge_iterator Freestyle::ViewEdge::fedge_iterator_last | ( | ) | const |
Definition at line 710 of file ViewMap.cpp.
|
inline |
Returns the first FEdge that constitutes this ViewEdge.
Definition at line 1067 of file ViewMap.h.
Referenced by Freestyle::ViewMap::InsertViewVertex(), Freestyle::Chain::push_viewedge_back(), Freestyle::Chain::push_viewedge_front(), Freestyle::ViewShape::RemoveEdge(), and Freestyle::ViewShape::SplitEdge().
|
inline |
Returns the last FEdge that constitutes this ViewEdge.
Definition at line 1073 of file ViewMap.h.
Referenced by Freestyle::ViewMap::InsertViewVertex(), Freestyle::Chain::push_viewedge_back(), Freestyle::Chain::push_viewedge_front(), and Freestyle::ViewShape::SplitEdge().
|
inline |
Returns the time stamp of this ViewEdge.
Definition at line 1102 of file ViewMap.h.
Referenced by Freestyle::AdjacencyIterator::isValid(), Freestyle::Functions1D::IncrementChainingTimeStampF1D::operator()(), and Freestyle::Predicates1D::EqualToChainingTimeStampUP1D::operator()().
|
inlinevirtual |
Returns the string "ViewEdge".
Reimplemented from Freestyle::Interface1D.
|
inlinevirtual |
Returns the Id of the vertex.
Reimplemented from Freestyle::Interface1D.
Definition at line 896 of file ViewMap.h.
Referenced by Freestyle::ViewMap::InsertViewVertex(), and Freestyle::ViewShape::SplitEdge().
|
virtual |
Returns the 2D length of the Viewedge.
Reimplemented from Freestyle::Interface1D.
Definition at line 669 of file ViewMap.cpp.
References fedge_iterator_begin(), fedge_iterator_end(), fedge_iterator_last(), length(), and Freestyle::VecMat::Vec< T, N >::norm().
Referenced by verticesEnd().
|
inlinevirtual |
Returns the nature of the ViewEdge.
Reimplemented from Freestyle::Interface1D.
Definition at line 902 of file ViewMap.h.
Referenced by Freestyle::ViewMap::InsertViewVertex(), Freestyle::Functions0D::CurveNatureF0D::operator()(), Freestyle::Functions1D::CurveNatureF1D::operator()(), and Freestyle::ChainSilhouetteIterator::traverse().
|
inline |
Definition at line 1231 of file ViewMap.h.
References Freestyle::GeomUtils::include2dSeg2dArea(), Freestyle::FEdge::nextEdge(), Freestyle::SVertex::point2D(), Freestyle::FEdge::vertexA(), and Freestyle::FEdge::vertexB().
Definition at line 1212 of file ViewMap.h.
References Freestyle::GeomUtils::intersect2dSeg2dArea(), Freestyle::FEdge::nextEdge(), Freestyle::SVertex::point2D(), Freestyle::FEdge::vertexA(), and Freestyle::FEdge::vertexB().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1117 of file ViewMap.h.
Referenced by Freestyle::Functions1D::getOccludersF1D(), and Freestyle::Functions1D::GetOccludersF1D::operator()().
|
inline |
Definition at line 1277 of file ViewMap.h.
Referenced by Freestyle::Functions0D::getOccludersF0D().
|
inline |
|
inline |
Definition at line 1282 of file ViewMap.h.
Referenced by Freestyle::Functions0D::getOccludersF0D().
|
virtual |
Returns an Interface0DIterator to iterate over the points of this ViewEdge at a given resolution. The returned Interface0DIterator points on the first Point of the ViewEdge.
| t | the sampling value. |
Reimplemented from Freestyle::Interface1D.
Definition at line 770 of file ViewMap.cpp.
References verticesBegin().
|
virtual |
Returns an Interface0DIterator to iterate over the points of this ViewEdge at a given resolution. The returned Interface0DIterator points after the last Point of the ViewEdge.
| t | the sampling value. |
Reimplemented from Freestyle::Interface1D.
Definition at line 775 of file ViewMap.cpp.
References verticesEnd().
|
inline |
Definition at line 1272 of file ViewMap.h.
Referenced by Freestyle::Functions0D::QuantitativeInvisibilityF0D::operator()(), Freestyle::Functions1D::QuantitativeInvisibilityF1D::operator()(), and setQI().
|
inline |
Sets the first ViewVertex of the ViewEdge.
Definition at line 1134 of file ViewMap.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpViewEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), Freestyle::ViewMap::InsertViewVertex(), and Freestyle::ViewShape::SplitEdge().
|
inline |
|
inline |
Sets the last ViewVertex of the ViewEdge.
Definition at line 1140 of file ViewMap.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpViewEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), Freestyle::ViewMap::InsertViewVertex(), and Freestyle::ViewShape::SplitEdge().
|
inline |
Sets the time stamp value.
Definition at line 1191 of file ViewMap.h.
Referenced by Freestyle::Functions1D::ChainingTimeStampF1D::operator()(), and Freestyle::Functions1D::IncrementChainingTimeStampF1D::operator()().
|
inline |
Sets the first FEdge of the ViewEdge.
Definition at line 1152 of file ViewMap.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpViewEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), Freestyle::ViewMap::InsertViewVertex(), and Freestyle::ViewShape::SplitEdge().
|
inline |
Sets the last FEdge of the ViewEdge.
Definition at line 1158 of file ViewMap.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpViewEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), Freestyle::ViewMap::InsertViewVertex(), and Freestyle::ViewShape::SplitEdge().
|
inline |
Sets the ViewEdge id.
Definition at line 1170 of file ViewMap.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpViewEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), Freestyle::ViewMap::InsertViewVertex(), and Freestyle::ViewShape::SplitEdge().
|
inline |
|
inline |
Sets the nature of the ViewEdge.
Definition at line 1146 of file ViewMap.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpViewEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), Freestyle::ViewMap::InsertViewVertex(), and Freestyle::ViewShape::SplitEdge().
|
inline |
|
inline |
|
inline |
Definition at line 1201 of file ViewMap.h.
Referenced by Freestyle::ViewShape::SplitEdge().
|
inline |
|
inline |
|
inline |
Definition at line 1122 of file ViewMap.h.
Referenced by Freestyle::ViewShape::SplitEdge().
| void Freestyle::ViewEdge::UpdateFEdges | ( | ) |
Sets Viewedge to this for all embedded fedges
Definition at line 837 of file ViewMap.cpp.
References ELEM, Freestyle::FEdge::nextEdge(), and Freestyle::FEdge::setViewEdge().
Referenced by Freestyle::ViewShape::SplitEdge(), and ViewEdge().
| ViewEdge::vertex_iterator Freestyle::ViewEdge::vertices_begin | ( | ) |
Definition at line 731 of file ViewMap.cpp.
| ViewEdge::const_vertex_iterator Freestyle::ViewEdge::vertices_begin | ( | ) | const |
embedding vertex iterator
Definition at line 726 of file ViewMap.cpp.
Referenced by Freestyle::Chain::push_viewedge_back(), and Freestyle::Chain::push_viewedge_front().
| ViewEdge::vertex_iterator Freestyle::ViewEdge::vertices_end | ( | ) |
Definition at line 751 of file ViewMap.cpp.
| ViewEdge::const_vertex_iterator Freestyle::ViewEdge::vertices_end | ( | ) | const |
Definition at line 746 of file ViewMap.cpp.
Referenced by Freestyle::Chain::push_viewedge_back(), and Freestyle::Chain::push_viewedge_front().
| ViewEdge::vertex_iterator Freestyle::ViewEdge::vertices_last | ( | ) |
Definition at line 741 of file ViewMap.cpp.
| ViewEdge::const_vertex_iterator Freestyle::ViewEdge::vertices_last | ( | ) | const |
Definition at line 736 of file ViewMap.cpp.
Referenced by Freestyle::Chain::push_viewedge_back(), and Freestyle::Chain::push_viewedge_front().
|
virtual |
Returns an Interface0DIterator to iterate over the SVertex constituting the embedding of this ViewEdge. The returned Interface0DIterator points to the first SVertex of the ViewEdge.
Reimplemented from Freestyle::Interface1D.
Definition at line 756 of file ViewMap.cpp.
References ret.
Referenced by pointsBegin().
|
virtual |
Returns an Interface0DIterator to iterate over the SVertex constituting the embedding of this ViewEdge. The returned Interface0DIterator points after the last SVertex of the ViewEdge.
Reimplemented from Freestyle::Interface1D.
Definition at line 763 of file ViewMap.cpp.
References getLength2D(), and ret.
Referenced by pointsEnd().
| ViewEdge::edge_iterator Freestyle::ViewEdge::ViewEdge_iterator | ( | ) |
view edge iterator
Definition at line 684 of file ViewMap.cpp.
| ViewEdge::const_edge_iterator Freestyle::ViewEdge::ViewEdge_iterator | ( | ) | const |
Definition at line 689 of file ViewMap.cpp.
References ViewEdge().
|
inline |
Returns the ViewShape to which this ViewEdge belongs to.
Definition at line 1079 of file ViewMap.h.
References ViewShape.
Referenced by Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), Freestyle::ViewMap::CreateTVertex(), Freestyle::Functions0D::getShapeF0D(), Freestyle::Functions1D::getShapeF1D(), Freestyle::ViewMap::InsertViewVertex(), and Freestyle::Functions1D::GetShapeF1D::operator()().
|
friend |
Definition at line 909 of file ViewMap.h.
References ViewShape.
Referenced by AddOccluder(), aShape(), aShape(), bShape(), setaShape(), setShape(), ViewEdge(), ViewShape, and viewShape().
| void* Freestyle::ViewEdge::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 944 of file ViewMap.h.
Referenced by ViewEdge(), ViewEdge(), ViewEdge(), ViewEdge(), ViewEdge(), and Freestyle::ViewShape::ViewShape().