CFx SDK Documentation 2024 SP0
|
#include <GsSpatialQuery.h>
Public Member Functions | |
OdGsSpatialQuery () | |
const OdSiShape & | build (const OdGsViewImpl &view, const OdGeExtents3d &sceneExtents, int numPoints, const OdGePoint2d *points) |
const OdSiShape & | build (const OdGsViewImpl &view, const OdGeExtents3d &sceneExtents, int numPoints=0, const OdGsDCPoint *points=0) |
const OdSiShape & | build (const OdGsViewImpl &view, const OdGsBaseModel *pModel, const OdGeExtents3d &sceneExtents, int numPoints, const OdGePoint2d *points) |
const OdSiShape & | build (const OdGsViewImpl &view, const OdGsBaseModel *pModel, const OdGeExtents3d &sceneExtents, int numPoints=0, const OdGsDCPoint *points=0) |
const OdSi::BBox & | getBBox () const |
Protected Member Functions | |
const OdSiShape & | applyClipping (const OdGsViewImpl &view, const OdSiShape &shape) |
const OdSiShape & | transformQuery (const OdSiShape &ss, const OdGeMatrix3d &tf) |
const OdSiShape & | transformQuery (const OdSiShape &ss, const OdGsBaseModel *pModel) |
Protected Attributes | |
OdSi::BBox | m_spqbox |
OdSi::Volume | m_spqvol |
OdSiShapesIntersection | m_clip |
Corresponding C++ library: TD_Gs
<group OdGs_Classes>
Definition at line 44 of file GsSpatialQuery.h.
|
inline |
Default constructor for the OdGsSpatialQuery class.
Definition at line 50 of file GsSpatialQuery.h.
|
protected |
const OdSiShape & OdGsSpatialQuery::build | ( | const OdGsViewImpl & | view, |
const OdGeExtents3d & | sceneExtents, | ||
int | numPoints, | ||
const OdGePoint2d * | points | ||
) |
Builds a spatial query for the specified polygon in this view object.
view | [in] View object reference. |
sceneExtents | [in] Whole scene extents. |
points | [in] Array of points in eye coords. |
numPoints | [in] Number of points. |
const OdSiShape & OdGsSpatialQuery::build | ( | const OdGsViewImpl & | view, |
const OdGeExtents3d & | sceneExtents, | ||
int | numPoints = 0 , |
||
const OdGsDCPoint * | points = 0 |
||
) |
Builds a spatial query for the specified polygon in this view object.
view | [in] View object reference. |
sceneExtents | [in] Whole scene extents. |
points | [in] Array of points in screen coords. |
numPoints | [in] Number of points. |
const OdSiShape & OdGsSpatialQuery::build | ( | const OdGsViewImpl & | view, |
const OdGsBaseModel * | pModel, | ||
const OdGeExtents3d & | sceneExtents, | ||
int | numPoints, | ||
const OdGePoint2d * | points | ||
) |
Builds a spatial query for the specified polygon in this view object.
view | [in] View object reference. |
pModel | [in] Graphics System Model to build query for. |
sceneExtents | [in] Whole scene extents. |
points | [in] Array of points in eye coords. |
numPoints | [in] Number of points. |
const OdSiShape & OdGsSpatialQuery::build | ( | const OdGsViewImpl & | view, |
const OdGsBaseModel * | pModel, | ||
const OdGeExtents3d & | sceneExtents, | ||
int | numPoints = 0 , |
||
const OdGsDCPoint * | points = 0 |
||
) |
Builds a spatial query for the specified polygon in this view object.
view | [in] View object reference. |
pModel | [in] Graphics System Model to build query for. |
sceneExtents | [in] Whole scene extents. |
points | [in] Array of points in screen coords. |
numPoints | [in] Number of points. |
|
inline |
Returns the current query's bounding box; call this method only after 'build()'.
Definition at line 103 of file GsSpatialQuery.h.
|
protected |
Transform query by transformation matrix.
|
protected |
Transform query by optional model transformation matrix.
|
protected |
Definition at line 119 of file GsSpatialQuery.h.
|
protected |
Definition at line 117 of file GsSpatialQuery.h.
|
protected |
Definition at line 118 of file GsSpatialQuery.h.