![]() |
VR-Forces 5.0.3 Developer's Guide
|
Represents an area query which can be used to extract triangles from DtTerrainInterface. The box points are in local but the box is always projected against the local topo at the center point of the box.
Public Member Functions | |
| DtTerrainProcessPolygonsBox (const Coordinate_System &local) | |
| DtTerrainProcessPolygonsBox (const Coordinate_System &local, const DtPoint &nw, const DtPoint &ne, const DtPoint &sw, const DtPoint &se) | |
| virtual | ~DtTerrainProcessPolygonsBox () |
| virtual bool | isUseAllTerrain () const |
| virtual void | setIsUseAllTerrain (bool useAllTerrain) |
| virtual bool | doesTriangleIntersectBox (const DtTerrainTriangleStruct &polygon) const |
| virtual bool | isPointInsideBox (const DtPoint &point) const |
| virtual DtPoint | centerOfBox () const |
| virtual DtPoint | northeast (bool inLocal=true) const |
| virtual DtPoint | northwest (bool inLocal=true) const |
| virtual DtPoint | southeast (bool inLocal=true) const |
| virtual DtPoint | southwest (bool inLocal=true) const |
| virtual void | setNewNW (const DtPoint &nw) |
| virtual void | setNewNE (const DtPoint &ne) |
| virtual void | setNewSW (const DtPoint &sw) |
| virtual void | setNewSE (const DtPoint &se) |
| virtual double | minAltitude () const |
| virtual double | maxAltitude () const |
| virtual void | setMinAltitude (double) |
| virtual void | setMaxAltitude (double) |
Protected Member Functions | |
| virtual DtCoordTransform | transform () const |
| virtual void | clearTopoData () |
Protected Attributes | |
| const Coordinate_System & | myLocal |
| bool | myIsUseAllTerrain |
| DtPoint | myNorthwest |
| DtPoint | myNortheast |
| DtPoint | mySouthwest |
| DtPoint | mySoutheast |
| double | myMinAltitude |
| double | myMaxAltitude |
| boost::optional< DtPoint > | myNorthwestTopo |
| boost::optional< DtPoint > | myNortheastTopo |
| boost::optional< DtPoint > | mySouthwestTopo |
| boost::optional< DtPoint > | mySoutheastTopo |
| boost::optional< DtPoint > | myTopoAABBMin |
| boost::optional< DtPoint > | myTopoAABBMax |
| boost::optional< DtCoordTransform > | myTransform |
|
explicit |
|
explicit |
|
virtual |
Corner point accessors. If inlocal is true then the points will be passed back in the local coordinate system. If inLocal is false then the points will be transformed into a local topo coordinate system centered at the center of the box.
Corner point accessors. If inlocal is true then the points will be passed back in the local coordinate system. If inLocal is false then the points will be transformed into a local topo coordinate system centered at the center of the box.
Corner point accessors. If inlocal is true then the points will be passed back in the local coordinate system. If inLocal is false then the points will be transformed into a local topo coordinate system centered at the center of the box.
Corner point accessors. If inlocal is true then the points will be passed back in the local coordinate system. If inLocal is false then the points will be transformed into a local topo coordinate system centered at the center of the box.
|
virtual |
Corner points of box in local coordinate system.
|
virtual |
Corner points of box in local coordinate system.
|
virtual |
Corner points of box in local coordinate system.
|
virtual |
Corner points of box in local coordinate system.
|
virtual |
Min/Max altitude of triangles generated. These values will be used regardless of the altitude of the points that define the box This is generally used to increase performance since finding all the triangles above and below a certain area can be very slow if you don't need them all. Defaults to -100000 to 100000.
|
virtual |
Min/Max altitude of triangles generated. These values will be used regardless of the altitude of the points that define the box This is generally used to increase performance since finding all the triangles above and below a certain area can be very slow if you don't need them all. Defaults to -100000 to 100000.
|
virtual |
Min/Max altitude of triangles generated. These values will be used regardless of the altitude of the points that define the box This is generally used to increase performance since finding all the triangles above and below a certain area can be very slow if you don't need them all. Defaults to -100000 to 100000.
|
virtual |
Min/Max altitude of triangles generated. These values will be used regardless of the altitude of the points that define the box This is generally used to increase performance since finding all the triangles above and below a certain area can be very slow if you don't need them all. Defaults to -100000 to 100000.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |