|
CFx SDK Documentation 2026 SP0
|
#include <SiVolume.h>
Classes | |
| class | PlaneImpl |
Public Member Functions | |
| Volume () | |
| Volume (const Volume &source) | |
| Volume (const OdGePoint3d &origin, const OdGeVector3d &zAxis, const OdGeVector3d &yAxis, const OdGeVector3d &xAxis, double xFov, double yFov, bool xFovAsAspect=false, bool yFovAsAspect=false, bool bNearPlane=false, double fNearPlane=0.01, bool bFarPlane=false, double fFarPlane=1.0) | |
| virtual bool | contains (const OdGeExtents3d &extents, bool planar=false, const OdGeTol &tol=OdGeContext::gTol) const |
| virtual bool | intersects (const OdGeExtents3d &extents, bool planar=false, const OdGeTol &tol=OdGeContext::gTol) const |
| virtual OdSiShape * | clone () const |
| virtual void | transform (const OdGeMatrix3d &mtx) |
Public Member Functions inherited from OdSiShape | |
| virtual | ~OdSiShape () |
Static Public Member Functions | |
| static double | fovToPlane (double fov, double len) |
| static double | fovFromPlane (double plane, double len) |
| static Volume | buildPyramidInEyeCS (const OdGeExtents2d &baseProjecton, double viewDistance, bool bNearPnane=true, double dNearPlane=0., bool bFarPlane=false, double dFarPlane=0.) |
Static Public Member Functions inherited from OdSiShape | |
| static bool | isOverallSpace (const OdSiShape *ptr) |
| static bool | isNoSpace (const OdSiShape *ptr) |
Static Protected Member Functions | |
| static bool | planeFromTri (const OdGePoint3d &A, const OdGePoint3d &B, const OdGePoint3d &C, PlaneImpl &pl) |
| static bool | aabbInsidePlane (const OdGePoint3d &min, const OdGePoint3d &max, const PlaneImpl &plane, const OdGeTol &tol) |
Protected Attributes | |
| OdUInt32 | m_nPlanes |
| PlaneImpl | m_plane [6] |
| bool | m_planeValid [6] = {} |
Additional Inherited Members | |
Static Public Attributes inherited from OdSiShape | |
| static ODSI_API_STATIC const OdSiShape & | kOverallSpace |
| static ODSI_API_STATIC const OdSiShape & | kNoSpace |
This class represents volumetric spatial index query shape. It is used with perspective mode projections.
<group OdGi_Classes>
Definition at line 40 of file SiVolume.h.
|
inline |
Definition at line 81 of file SiVolume.h.
|
inline |
Definition at line 82 of file SiVolume.h.
|
inline |
Definition at line 201 of file SiVolume.h.
|
inlinestaticprotected |
Definition at line 188 of file SiVolume.h.
|
inlinestatic |
This method builds Volume as pyramid extents for perspective view in Eye Coordinate System.
| baseProjecton | [in] Projection of pyramid base on view target plane. |
| viewDistance | [in] Distance between veiw position and target |
| bNearPlane | [in] Flag that indicates whether near plane clipping should be involved. |
| dNearPlane | [in] Distance from target point to the near clipping plane. |
| bFarPlane | [in] Flag that indicates whether far plane clipping should be involved. |
| dFerPlane | [in] Distance from target point to the far clipping plane. |
Definition at line 137 of file SiVolume.h.
|
inlinevirtual |
Reimplemented from OdSiShape.
Definition at line 101 of file SiVolume.h.
|
inlinevirtual |
Returns true if and only if this Shape object contains the specified extents.
| extents | [in] Any 3D extents box. |
| planar | [in] If and only if true, a planar computation is made. |
Implements OdSiShape.
Definition at line 253 of file SiVolume.h.
|
inlinestatic |
Definition at line 120 of file SiVolume.h.
|
inlinestatic |
Definition at line 116 of file SiVolume.h.
|
inlinevirtual |
Returns true if and only if this Shape object intersects the specified extents.
| extents | [in] Any 3D extents box. |
| planar | [in] If and only if true, a planar computation is made. |
Implements OdSiShape.
Definition at line 275 of file SiVolume.h.
|
inlinestaticprotected |
Definition at line 172 of file SiVolume.h.
|
inlinevirtual |
Reimplemented from OdSiShape.
Definition at line 106 of file SiVolume.h.
|
protected |
Definition at line 76 of file SiVolume.h.
|
protected |
Definition at line 78 of file SiVolume.h.
|
protected |
Definition at line 79 of file SiVolume.h.