|
Blender V4.5
|
#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 Freestyle::ViewMapBuilder::computeInitialViewEdges(), duplicate(), ViewShape(), and ViewShape_init().
|
inline |
|
inline |
Copy constructor.
Definition at line 1414 of file ViewMap.h.
References AddEdge(), AddVertex(), Freestyle::ViewEdge::duplicate(), Freestyle::ViewVertex::duplicate(), edges(), 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 Freestyle::ViewEdgeXBuilder::BuildSharpViewEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), SplitEdge(), ViewShape(), and ViewShape_add_edge().
|
inline |
Adds a ViewVertex to the list.
Definition at line 1590 of file ViewMap.h.
Referenced by Freestyle::ViewMap::CreateTVertex(), Freestyle::ViewMap::InsertViewVertex(), Freestyle::ViewEdgeXBuilder::MakeViewVertex(), SplitEdge(), ViewShape(), and ViewShape_add_vertex().
|
inlinevirtual |
Returns the list of ViewEdge contained in this ViewShape.
Definition at line 1547 of file ViewMap.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildViewEdges(), ViewShape(), and ViewShape_edges_get().
|
inline |
Returns the ViewShape id.
Definition at line 1553 of file ViewMap.h.
Referenced by Freestyle::ViewMap::AddViewShape(), Freestyle::Functions0D::ShapeIdF0D::operator()(), and ViewShape_id_get().
|
inline |
Returns the ViewShape library path.
Definition at line 1565 of file ViewMap.h.
Referenced by ViewShape_library_path_get().
|
inline |
Returns the ViewShape name.
Definition at line 1559 of file ViewMap.h.
Referenced by ViewShape_name_get().
| 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.
Sets the list of ViewEdge contained in this ViewShape.
Definition at line 1584 of file ViewMap.h.
Referenced by ViewShape_edges_set().
|
inline |
Sets the SShape on top of which the ViewShape is built.
Definition at line 1572 of file ViewMap.h.
Referenced by ViewShape_dealloc(), and ViewShape_sshape_set().
|
inline |
Sets the list of ViewVertex contained in this ViewShape.
Definition at line 1578 of file ViewMap.h.
Referenced by ViewShape_vertices_set().
|
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::Id::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::FEdge::shape(), Freestyle::SVertex::shape(), Freestyle::SShape::SplitEdgeIn2(), Freestyle::ViewEdge::splittingId(), Freestyle::ViewEdge::UpdateFEdges(), Freestyle::FEdge::vertexA(), Freestyle::ViewEdge::ViewEdge(), 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(), Freestyle::FEdge::occluded_shape(), and ViewShape_sshape_get().
|
inline |
|
inline |
Returns the list of ViewVertex contained in this ViewShape.
Definition at line 1541 of file ViewMap.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildViewEdges(), ViewShape(), and ViewShape_vertices_get().
| 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().