|
Blender
V2.93
|
#include <ViewMap.h>
Inherits Freestyle::ViewVertex.
Public Types | |
| typedef vector< directedViewEdge * > | edge_pointers_container |
Public Types inherited from Freestyle::ViewVertex | |
| 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 |
Protected Member Functions | |
| TVertex (TVertex &iBrother) | |
| virtual ViewVertex * | duplicate () |
Protected Member Functions inherited from Freestyle::ViewVertex | |
| ViewVertex (ViewVertex &iBrother) | |
Additional Inherited Members | |
Public Attributes inherited from Freestyle::ViewVertex | |
| void * | userdata |
class to define a T vertex, i.e. an intersection between two edges. It points towards 2 SVertex and 4 View edges. Among these ViewEdges, 2 are front and 2 are back. Basically the front edge hides part of the back edge. So, among the back edges, 1 is of invisibility n and the other of visibility n+1
|
inline |
Default constructor.
Definition at line 487 of file ViewMap.h.
References NULL.
Referenced by duplicate().
Definition at line 497 of file ViewMap.h.
References Freestyle::SVertex::setViewVertex().
|
inlineprotected |
|
inline |
Definition at line 553 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::ComputeIntersections(), and Freestyle::ViewMapIO::Internal::save().
|
inline |
Definition at line 558 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::ComputeIntersections(), and Freestyle::ViewMapIO::Internal::save().
|
inline |
Returns the SVertex that is further away from the viewpoint.
Definition at line 538 of file ViewMap.h.
Referenced by Freestyle::SVertex::getFEdge(), and Freestyle::ViewMapIO::Internal::save().
|
inlinevirtual |
Cast the Interface0D in TVertex if it can be.
Reimplemented from Freestyle::Interface0D.
Definition at line 468 of file ViewMap.h.
Referenced by Freestyle::CurvePoint::castToTVertex().
|
inlinevirtual |
Cast the Interface0D in SVertex if it can be.
Reimplemented from Freestyle::Interface0D.
|
inlineprotectedvirtual |
Cloning method.
Implements Freestyle::ViewVertex.
Definition at line 523 of file ViewMap.h.
References TVertex().
|
virtual |
|
virtual |
Implements Freestyle::ViewVertex.
Definition at line 442 of file ViewMap.cpp.
|
virtual |
Implements Freestyle::ViewVertex.
Definition at line 448 of file ViewMap.cpp.
|
virtual |
Implements Freestyle::ViewVertex.
Definition at line 455 of file ViewMap.cpp.
|
virtual |
Implements Freestyle::ViewVertex.
Definition at line 462 of file ViewMap.cpp.
|
virtual |
Implements Freestyle::ViewVertex.
Definition at line 491 of file ViewMap.cpp.
|
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 521 of file ViewMap.cpp.
|
virtual |
Returns an orientedViewEdgeIterator over the ViewEdges around this ViewVertex, pointing after the last ViewEdge.
Implements Freestyle::ViewVertex.
Definition at line 527 of file ViewMap.cpp.
|
virtual |
Returns an orientedViewEdgeIterator pointing to the ViewEdge given as argument.
Implements Freestyle::ViewVertex.
Definition at line 533 of file ViewMap.cpp.
|
inline |
Definition at line 543 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::ComputeIntersections(), and Freestyle::ViewMapIO::Internal::save().
|
inline |
Definition at line 548 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::ComputeIntersections(), and Freestyle::ViewMapIO::Internal::save().
|
inline |
Returns the SVertex that is closer to the viewpoint.
Definition at line 532 of file ViewMap.h.
Referenced by Freestyle::SVertex::getFEdge(), and Freestyle::ViewMapIO::Internal::save().
|
inlinevirtual |
Returns the string "TVertex".
Reimplemented from Freestyle::ViewVertex.
|
inlinevirtual |
Returns the Id of the TVertex.
Reimplemented from Freestyle::Interface0D.
Definition at line 455 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::ComputeIntersections(), and Freestyle::ViewMapIO::Internal::save().
|
inlinevirtual |
Returns the 2D point.
Reimplemented from Freestyle::Interface0D.
Definition at line 449 of file ViewMap.h.
References Freestyle::SVertex::getPoint2D().
|
inlinevirtual |
Returns the 3D point.
Reimplemented from Freestyle::Interface0D.
Definition at line 425 of file ViewMap.h.
References Freestyle::SVertex::getPoint3D().
|
inlinevirtual |
Returns the projected 3D x coordinate of the vertex.
Reimplemented from Freestyle::Interface0D.
Definition at line 432 of file ViewMap.h.
References Freestyle::SVertex::point2D(), and Freestyle::VecMat::Vec3< T >::x().
|
inlinevirtual |
Returns the projected 3D y coordinate of the vertex.
Reimplemented from Freestyle::Interface0D.
Definition at line 438 of file ViewMap.h.
References Freestyle::SVertex::point2D(), and Freestyle::VecMat::Vec3< T >::y().
|
inlinevirtual |
Returns the 2D z coordinate of the point.
Reimplemented from Freestyle::Interface0D.
Definition at line 443 of file ViewMap.h.
References Freestyle::SVertex::point2D(), and Freestyle::VecMat::Vec3< T >::z().
|
inlinevirtual |
Returns the 3D x coordinate of the point.
Reimplemented from Freestyle::Interface0D.
Definition at line 406 of file ViewMap.h.
References Freestyle::SVertex::point3D(), and Freestyle::VecMat::Vec3< T >::x().
|
inlinevirtual |
Returns the 3D y coordinate of the point.
Reimplemented from Freestyle::Interface0D.
Definition at line 412 of file ViewMap.h.
References Freestyle::SVertex::point3D(), and Freestyle::VecMat::Vec3< T >::y().
|
inlinevirtual |
Returns the 3D z coordinate of the point.
Reimplemented from Freestyle::Interface0D.
Definition at line 418 of file ViewMap.h.
References Freestyle::SVertex::point3D(), and Freestyle::VecMat::Vec3< T >::z().
Reimplemented from Freestyle::ViewVertex.
Definition at line 413 of file ViewMap.cpp.
| void Freestyle::TVertex::setBackEdgeA | ( | ViewEdge * | iBackEdgeA, |
| bool | incoming = true |
||
| ) |
Definition at line 375 of file ViewMap.cpp.
References Freestyle::ViewEdgeComp().
Referenced by Freestyle::ViewMapIO::Internal::load().
| void Freestyle::TVertex::setBackEdgeB | ( | ViewEdge * | iBackEdgeB, |
| bool | incoming = true |
||
| ) |
Definition at line 394 of file ViewMap.cpp.
References Freestyle::ViewEdgeComp().
Referenced by Freestyle::ViewMapIO::Internal::load().
|
inline |
Sets the SVertex that is further away from the viewpoint.
Definition at line 572 of file ViewMap.h.
References Freestyle::SVertex::setViewVertex().
Referenced by Freestyle::ViewMapIO::Internal::load().
| void Freestyle::TVertex::setFrontEdgeA | ( | ViewEdge * | iFrontEdgeA, |
| bool | incoming = true |
||
| ) |
Definition at line 337 of file ViewMap.cpp.
References Freestyle::ViewEdgeComp().
Referenced by Freestyle::ViewMapIO::Internal::load().
| void Freestyle::TVertex::setFrontEdgeB | ( | ViewEdge * | iFrontEdgeB, |
| bool | incoming = true |
||
| ) |
Definition at line 356 of file ViewMap.cpp.
References Freestyle::ViewEdgeComp().
Referenced by Freestyle::ViewMapIO::Internal::load().
|
inline |
Sets the SVertex that is closer to the viewpoint.
Definition at line 565 of file ViewMap.h.
References Freestyle::SVertex::setViewVertex().
Referenced by Freestyle::ViewMapIO::Internal::load().
|
inline |
Sets the Id.
Definition at line 584 of file ViewMap.h.
Referenced by Freestyle::ViewMap::CreateTVertex(), and Freestyle::ViewMapIO::Internal::load().