Blender
V3.3
|
#include <ViewMap.h>
Public Member Functions | |
ViewShape () | |
ViewShape (SShape *iSShape) | |
ViewShape (ViewShape &iBrother) | |
virtual ViewShape * | duplicate () |
virtual | ~ViewShape () |
void | SplitEdge (FEdge *fe, const vector< TVertex * > &iViewVertices, vector< FEdge * > &ioNewEdges, vector< ViewEdge * > &ioNewViewEdges) |
SShape * | sshape () |
const SShape * | sshape () const |
vector< ViewVertex * > & | vertices () |
vector< ViewEdge * > & | edges () |
Id | getId () const |
const string & | getName () const |
const string & | getLibraryPath () const |
void | setSShape (SShape *iSShape) |
void | setVertices (const vector< ViewVertex * > &iVertices) |
void | setEdges (const vector< ViewEdge * > &iEdges) |
void | AddVertex (ViewVertex *iVertex) |
void | AddEdge (ViewEdge *iEdge) |
void | RemoveEdge (ViewEdge *iViewEdge) |
void | RemoveVertex (ViewVertex *iViewVertex) |
Public Attributes | |
void * | userdata |
Class gathering the elements of the ViewMap (ViewVertex, ViewEdge) that are issued from the same input shape.
|
inline |
Default constructor.
Definition at line 1411 of file ViewMap.h.
References NULL, and userdata.
Referenced by duplicate().
|
inline |
|
inline |
Copy constructor.
Definition at line 1426 of file ViewMap.h.
References AddEdge(), AddVertex(), Freestyle::ViewEdge::duplicate(), Freestyle::ViewVertex::duplicate(), edges(), Freestyle::Nature::NON_T_VERTEX, NULL, Freestyle::Nature::T_VERTEX, Freestyle::ViewEdge::userdata, userdata, v, and vertices().
|
virtual |
Adds a ViewEdge to the list
Definition at line 1607 of file ViewMap.h.
References Freestyle::ViewEdge::setShape().
Referenced by SplitEdge(), and ViewShape().
|
inline |
Adds a ViewVertex to the list.
Definition at line 1600 of file ViewMap.h.
Referenced by Freestyle::ViewMap::CreateTVertex(), Freestyle::ViewMap::InsertViewVertex(), SplitEdge(), and ViewShape().
|
inlinevirtual |
Returns the list of ViewEdge contained in this ViewShape.
Definition at line 1557 of file ViewMap.h.
Referenced by ViewShape().
|
inline |
Returns the ViewShape id.
Definition at line 1563 of file ViewMap.h.
References Freestyle::SShape::getId().
Referenced by Freestyle::ViewMap::AddViewShape(), and Freestyle::Functions0D::ShapeIdF0D::operator()().
|
inline |
Returns the ViewShape library path.
Definition at line 1575 of file ViewMap.h.
References Freestyle::SShape::getLibraryPath().
|
inline |
Returns the ViewShape name.
Definition at line 1569 of file ViewMap.h.
References Freestyle::SShape::getName().
Definition at line 786 of file ViewMap.cpp.
References Freestyle::ViewEdge::fedgeA(), and Freestyle::SShape::RemoveEdge().
void Freestyle::ViewShape::RemoveVertex | ( | ViewVertex * | iViewVertex | ) |
Definition at line 798 of file ViewMap.cpp.
|
inline |
Sets the list of ViewVertex contained in this ViewShape.
|
inline |
Definition at line 1640 of file ViewMap.h.
References Freestyle::ViewEdge::A(), AddEdge(), AddVertex(), Freestyle::ViewEdge::B(), Freestyle::ViewEdge::fedgeA(), Freestyle::ViewEdge::fedgeB(), Freestyle::Id::getFirst(), Freestyle::SVertex::getId(), Freestyle::ViewEdge::getId(), Freestyle::Id::getSecond(), id, Freestyle::SShape::RemoveEdgeFromChain(), Freestyle::ViewVertex::Replace(), Freestyle::ViewEdge::setA(), Freestyle::ViewEdge::setB(), Freestyle::ViewEdge::setFEdgeA(), Freestyle::ViewEdge::setFEdgeB(), Freestyle::ViewEdge::setId(), Freestyle::ViewEdge::setNature(), Freestyle::Id::setSecond(), Freestyle::ViewEdge::setSplittingId(), Freestyle::FEdge::setViewEdge(), Freestyle::SVertex::shape(), Freestyle::FEdge::shape(), Freestyle::SShape::SplitEdgeIn2(), Freestyle::ViewEdge::splittingId(), Freestyle::ViewEdge::UpdateFEdges(), Freestyle::FEdge::vertexA(), and Freestyle::FEdge::viewedge().
Referenced by Freestyle::ViewMapBuilder::ComputeSweepLineIntersections().
|
inline |
Returns the SShape on top of which this ViewShape is built.
Definition at line 1539 of file ViewMap.h.
Referenced by Freestyle::ViewEdgeXBuilder::Init(), Freestyle::ViewMap::InsertViewVertex(), Freestyle::FEdge::occluded_shape(), and Freestyle::ViewEdge::occluded_shape().
|
inline |
|
inline |
Returns the list of ViewVertex contained in this ViewShape.
Definition at line 1551 of file ViewMap.h.
Referenced by ViewShape().
void* Freestyle::ViewShape::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 1408 of file ViewMap.h.
Referenced by ViewShape().