|
Blender V5.0
|
#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 1399 of file ViewMap.h.
References userdata.
Referenced by duplicate(), and ViewShape().
|
inline |
|
inline |
Copy constructor.
Definition at line 1414 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, vertices(), and ViewShape().
|
virtual |
|
inline |
Adds a ViewEdge to the list
Definition at line 1597 of file ViewMap.h.
References Freestyle::ViewEdge::setShape().
Referenced by SplitEdge(), and ViewShape().
|
inline |
Adds a ViewVertex to the list.
Definition at line 1590 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 1547 of file ViewMap.h.
Referenced by ViewShape().
|
inline |
Returns the ViewShape id.
Definition at line 1553 of file ViewMap.h.
Referenced by Freestyle::ViewMap::AddViewShape(), and Freestyle::Functions0D::ShapeIdF0D::operator()().
|
inline |
|
inline |
| void Freestyle::ViewShape::RemoveEdge | ( | ViewEdge * | iViewEdge | ) |
Definition at line 805 of file ViewMap.cpp.
References Freestyle::ViewEdge::fedgeA().
| void Freestyle::ViewShape::RemoveVertex | ( | ViewVertex * | iViewVertex | ) |
Definition at line 817 of file ViewMap.cpp.
|
inline |
|
inline |
Sets the list of ViewVertex contained in this ViewShape.
|
inline |
Definition at line 1628 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::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::FEdge::shape(), Freestyle::SVertex::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 1529 of file ViewMap.h.
Referenced by Freestyle::ViewEdgeXBuilder::Init(), Freestyle::ViewMap::InsertViewVertex(), and Freestyle::FEdge::occluded_shape().
|
inline |
|
inline |
Returns the list of ViewVertex contained in this ViewShape.
Definition at line 1541 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 1396 of file ViewMap.h.
Referenced by ViewShape(), ViewShape(), and ViewShape().