Blender
V3.3
|
#include <ViewMap.h>
Public Types | |
typedef vector< ViewEdge * > | viewedges_container |
typedef vector< ViewVertex * > | viewvertices_container |
typedef vector< ViewShape * > | viewshapes_container |
typedef vector< SVertex * > | svertices_container |
typedef vector< FEdge * > | fedges_container |
typedef map< int, int > | id_to_index_map |
Static Public Member Functions | |
static ViewMap * | getInstance () |
Public Attributes | |
void * | userdata |
typedef vector<FEdge *> Freestyle::ViewMap::fedges_container |
typedef map<int, int> Freestyle::ViewMap::id_to_index_map |
typedef vector<SVertex *> Freestyle::ViewMap::svertices_container |
|
inline |
|
virtual |
Destructor.
Definition at line 28 of file ViewMap.cpp.
Definition at line 173 of file ViewMap.h.
Referenced by CreateTVertex().
Definition at line 82 of file ViewMap.cpp.
References Freestyle::Id::getFirst(), and Freestyle::ViewShape::getId().
|
inline |
Definition at line 163 of file ViewMap.h.
Referenced by CreateTVertex().
|
virtual |
Definition at line 49 of file ViewMap.cpp.
Referenced by Freestyle::Controller::DeleteViewMap().
TVertex * Freestyle::ViewMap::CreateTVertex | ( | const Vec3r & | iA3D, |
const Vec3r & | iA2D, | ||
FEdge * | iFEdgeA, | ||
const Vec3r & | iB3D, | ||
const Vec3r & | iB2D, | ||
FEdge * | iFEdgeB, | ||
const Id & | id | ||
) |
Definition at line 129 of file ViewMap.cpp.
References AddSVertex(), Freestyle::ViewShape::AddVertex(), AddViewVertex(), Freestyle::SShape::CreateSVertex(), Freestyle::SVertex::getId(), Freestyle::SVertex::point2D(), Freestyle::TVertex::setId(), Freestyle::FEdge::shape(), Freestyle::FEdge::vertexA(), Freestyle::FEdge::viewedge(), and Freestyle::ViewEdge::viewShape().
Referenced by Freestyle::ViewMapBuilder::ComputeSweepLineIntersections().
|
inline |
Definition at line 115 of file ViewMap.h.
Referenced by Freestyle::BoxGrid::assignCells(), Freestyle::SphericalGrid::assignCells(), Freestyle::ViewMapBuilder::ComputeFastRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::Controller::ComputeSteerableViewMap(), Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), and Freestyle::ViewMapBuilder::ComputeVeryFastRayCastingVisibility().
Gets the Fedge the nearest to the 2D position specified as argument
Definition at line 88 of file ViewMap.cpp.
References A, B, Freestyle::x, and y.
Gets the viewedge the nearest to the 2D position specified as argument
Definition at line 107 of file ViewMap.cpp.
References A, B, Freestyle::FEdge::viewedge(), Freestyle::x, and y.
|
inlinestatic |
The ViewMap is a singleton class. This static method returns the instance of the ViewMap.
Definition at line 91 of file ViewMap.h.
Referenced by Freestyle::Operators::reset(), and Freestyle::FEdge::z_discontinuity().
Returns the scene 3D bounding box.
Definition at line 150 of file ViewMap.h.
Referenced by Freestyle::FEdge::z_discontinuity().
ViewVertex * Freestyle::ViewMap::InsertViewVertex | ( | SVertex * | iVertex, |
vector< ViewEdge * > & | newViewEdges | ||
) |
Definition at line 172 of file ViewMap.cpp.
References Freestyle::ViewEdge::A(), Freestyle::SShape::AddChain(), Freestyle::NonTVertex::AddIncomingViewEdge(), Freestyle::NonTVertex::AddOutgoingViewEdge(), Freestyle::ViewShape::AddVertex(), Freestyle::ViewEdge::B(), Freestyle::ViewEdge::fedgeA(), Freestyle::ViewEdge::fedgeB(), Freestyle::SVertex::fedges(), Freestyle::Id::getFirst(), Freestyle::ViewEdge::getId(), Freestyle::ViewEdge::getNature(), Freestyle::Id::getSecond(), Freestyle::SShape::RemoveEdgeFromChain(), Freestyle::NonTVertex::Replace(), Freestyle::ViewEdge::setA(), Freestyle::ViewEdge::setB(), Freestyle::ViewEdge::setFEdgeA(), Freestyle::ViewEdge::setFEdgeB(), Freestyle::ViewEdge::setId(), Freestyle::ViewEdge::setNature(), Freestyle::FEdge::setPreviousEdge(), Freestyle::ViewShape::sshape(), Freestyle::FEdge::viewedge(), Freestyle::ViewEdge::viewShape(), and Freestyle::SVertex::viewvertex().
Referenced by Freestyle::ViewMapBuilder::computeCusps().
Sets the scene 3D bounding box.
Definition at line 179 of file ViewMap.h.
Referenced by Freestyle::Controller::ComputeViewMap().
|
inline |
|
inline |
Definition at line 121 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::ComputeSweepLineIntersections().
|
inline |
Definition at line 103 of file ViewMap.h.
Referenced by Freestyle::computeCumulativeVisibility(), Freestyle::ViewMapBuilder::computeCusps(), Freestyle::computeDetailedVisibility(), Freestyle::ViewMapBuilder::ComputeFastRayCastingVisibility(), Freestyle::computeFastVisibility(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), Freestyle::ViewMapBuilder::ComputeVeryFastRayCastingVisibility(), Freestyle::computeVeryFastVisibility(), Freestyle::CulledOccluderSource::cullViewEdges(), Freestyle::ViewMapBuilder::CullViewEdges(), Freestyle::Operators::reset(), and Freestyle::ViewMapTesselator::Tesselate().
|
inline |
|
inline |
|
inline |
Definition at line 137 of file ViewMap.h.
Referenced by Freestyle::Controller::ComputeViewMap().
ViewShape * Freestyle::ViewMap::viewShape | ( | unsigned | id | ) |
Definition at line 76 of file ViewMap.cpp.
References id.
Referenced by Freestyle::computeCumulativeVisibility(), Freestyle::computeDetailedVisibility(), Freestyle::ViewMapBuilder::ComputeFastRayCastingVisibility(), Freestyle::computeFastVisibility(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeVeryFastRayCastingVisibility(), Freestyle::computeVeryFastVisibility(), and Freestyle::computeVisibility().
|
inline |
|
inline |
Definition at line 109 of file ViewMap.h.
Referenced by Freestyle::ViewMapBuilder::ComputeIntersections().
void* Freestyle::ViewMap::userdata |