|
Blender V4.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 1409 of file ViewMap.h.
References userdata.
Referenced by duplicate().
|
inline |
|
inline |
Copy constructor.
Definition at line 1424 of file ViewMap.h.
References AddEdge(), AddVertex(), Freestyle::ViewEdge::duplicate(), Freestyle::ViewVertex::duplicate(), edges(), Freestyle::Nature::NON_T_VERTEX, Freestyle::Nature::T_VERTEX, Freestyle::ViewEdge::userdata, userdata, v, and vertices().
|
virtual |
|
inline |
Adds a ViewEdge to the list
Definition at line 1607 of file ViewMap.h.
References Freestyle::ViewEdge::setShape().
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpViewEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), 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(), Freestyle::ViewEdgeXBuilder::MakeViewVertex(), SplitEdge(), and ViewShape().
|
inlinevirtual |
Returns the list of ViewEdge contained in this ViewShape.
Definition at line 1557 of file ViewMap.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildViewEdges(), and 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().
| void Freestyle::ViewShape::RemoveEdge | ( | ViewEdge * | iViewEdge | ) |
Definition at line 803 of file ViewMap.cpp.
References Freestyle::ViewEdge::fedgeA(), and Freestyle::SShape::RemoveEdge().
| void Freestyle::ViewShape::RemoveVertex | ( | ViewVertex * | iViewVertex | ) |
Definition at line 815 of file ViewMap.cpp.
|
inline |
|
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(), 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::FEdge::shape(), Freestyle::SVertex::shape(), Freestyle::ViewEdge::splittingId(), Freestyle::ViewEdge::UpdateFEdges(), Freestyle::FEdge::vertexA(), and Freestyle::FEdge::viewedge().
|
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 Freestyle::ViewEdgeXBuilder::BuildViewEdges(), and 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 1406 of file ViewMap.h.
Referenced by ViewShape(), ViewShape(), and ViewShape().