|
Blender V4.3
|
#include <Polygon.h>
Public Member Functions | |
| Polygon () | |
| Polygon (const vector< Point > &vertices) | |
| Polygon (const Polygon< Point > &poly) | |
| virtual | ~Polygon () |
| const vector< Point > & | getVertices () const |
| void | getBBox (Point &min, Point &max) const |
| Point | getBBoxCenter () |
| Point | getCenter () |
| uint | getId () const |
| void | setVertices (const vector< Point > &vertices) |
| void | setId (uint id) |
| void | computeBBox () |
Public Attributes | |
| void * | userdata |
| void * | userdata2 |
Protected Attributes | |
| vector< Point > | _vertices |
| Point | _min |
| Point | _max |
| uint | _id |
|
inline |
Definition at line 29 of file Polygon.h.
References Freestyle::Geometry::Polygon< Point >::_id, Freestyle::Geometry::Polygon< Point >::userdata, and Freestyle::Geometry::Polygon< Point >::userdata2.
|
inline |
Definition at line 36 of file Polygon.h.
References Freestyle::Geometry::Polygon< Point >::_id, Freestyle::Geometry::Polygon< Point >::_vertices, Freestyle::Geometry::Polygon< Point >::computeBBox(), Freestyle::Geometry::Polygon< Point >::userdata, and Freestyle::Geometry::Polygon< Point >::userdata2.
|
inline |
Definition at line 45 of file Polygon.h.
References Freestyle::Geometry::Polygon< Point >::_id, Freestyle::Geometry::Polygon< Point >::_max, Freestyle::Geometry::Polygon< Point >::_min, Freestyle::Geometry::Polygon< Point >::_vertices, Freestyle::Geometry::Polygon< Point >::userdata, and Freestyle::Geometry::Polygon< Point >::userdata2.
|
inlinevirtual |
|
inline |
Definition at line 126 of file Polygon.h.
References Freestyle::Geometry::Polygon< Point >::_max, Freestyle::Geometry::Polygon< Point >::_min, and Freestyle::Geometry::Polygon< Point >::_vertices.
Referenced by Freestyle::Geometry::Polygon< Point >::Polygon(), and Freestyle::Geometry::Polygon< Point >::setVertices().
|
inline |
Definition at line 73 of file Polygon.h.
References Freestyle::Geometry::Polygon< Point >::_max, Freestyle::Geometry::Polygon< Point >::_min, and min.
Referenced by Freestyle::OccluderSource::averageOccluderArea(), and Freestyle::Grid::insertOccluder().
|
inline |
Definition at line 79 of file Polygon.h.
References Freestyle::Geometry::Polygon< Point >::_max, Freestyle::Geometry::Polygon< Point >::_min, and result.
|
inline |
Definition at line 86 of file Polygon.h.
References Freestyle::Geometry::Polygon< Point >::_vertices, and result.
|
inline |
Definition at line 96 of file Polygon.h.
References Freestyle::Geometry::Polygon< Point >::_id.
Referenced by Freestyle::ViewMapBuilder::ComputeRayCastingVisibility().
|
inline |
Definition at line 68 of file Polygon.h.
References Freestyle::Geometry::Polygon< Point >::_vertices.
Referenced by Freestyle::GridDensityProvider::calculateOptimalProscenium(), Freestyle::computeVisibility(), Freestyle::findOccludee(), Freestyle::OccluderSource::getOccluderProscenium(), Freestyle::Grid::insertOccluder(), and Freestyle::SphericalGrid::OccluderData::OccluderData().
|
inline |
Definition at line 117 of file Polygon.h.
References Freestyle::Geometry::Polygon< Point >::_id.
Referenced by Freestyle::WFillGrid::fillGrid(), and Freestyle::WSFillGrid::fillGrid().
|
inline |
Definition at line 105 of file Polygon.h.
References Freestyle::Geometry::Polygon< Point >::_vertices, and Freestyle::Geometry::Polygon< Point >::computeBBox().
|
protected |
Definition at line 155 of file Polygon.h.
Referenced by Freestyle::Geometry::Polygon< Point >::getId(), Freestyle::Geometry::Polygon< Point >::Polygon(), Freestyle::Geometry::Polygon< Point >::Polygon(), Freestyle::Geometry::Polygon< Point >::Polygon(), and Freestyle::Geometry::Polygon< Point >::setId().
|
protected |
Definition at line 154 of file Polygon.h.
Referenced by Freestyle::Geometry::Polygon< Point >::computeBBox(), Freestyle::Geometry::Polygon< Point >::getBBox(), Freestyle::Geometry::Polygon< Point >::getBBoxCenter(), and Freestyle::Geometry::Polygon< Point >::Polygon().
|
protected |
Definition at line 153 of file Polygon.h.
Referenced by Freestyle::Geometry::Polygon< Point >::computeBBox(), Freestyle::Geometry::Polygon< Point >::getBBox(), Freestyle::Geometry::Polygon< Point >::getBBoxCenter(), and Freestyle::Geometry::Polygon< Point >::Polygon().
|
protected |
Definition at line 152 of file Polygon.h.
Referenced by Freestyle::Geometry::Polygon< Point >::computeBBox(), Freestyle::Geometry::Polygon< Point >::getCenter(), Freestyle::Geometry::Polygon< Point >::getVertices(), Freestyle::Geometry::Polygon< Point >::Polygon(), Freestyle::Geometry::Polygon< Point >::Polygon(), and Freestyle::Geometry::Polygon< Point >::setVertices().
| void* Freestyle::Geometry::Polygon< Point >::userdata |
Definition at line 148 of file Polygon.h.
Referenced by Freestyle::ViewMapBuilder::ComputeVeryFastRayCastingVisibility(), Freestyle::WFillGrid::fillGrid(), Freestyle::WSFillGrid::fillGrid(), Freestyle::Geometry::Polygon< Point >::Polygon(), Freestyle::Geometry::Polygon< Point >::Polygon(), and Freestyle::Geometry::Polygon< Point >::Polygon().
| void* Freestyle::Geometry::Polygon< Point >::userdata2 |
Definition at line 149 of file Polygon.h.
Referenced by Freestyle::firstIntersectionGridVisitor::examineOccluder(), Freestyle::Geometry::Polygon< Point >::Polygon(), Freestyle::Geometry::Polygon< Point >::Polygon(), and Freestyle::Geometry::Polygon< Point >::Polygon().