24 #ifndef _ODGSCULLINGVOLUME_H_INCLUDED_
25 #define _ODGSCULLINGVOLUME_H_INCLUDED_
256 bb.
get(base, side1, side2, side3);
257 set(base, side1, side2, side3);
264 obb.
get(base, side1, side2, side3);
265 set(base, side1, side2, side3);
375 double volumeWidth,
double volumeHeight) = 0;
407 double fovY,
double aspect,
OdUInt32 nPlanes = 4,
double nearZ = 1.0,
double farZ = 1e20) = 0;
421 double fovX,
bool aspect,
double fovY,
OdUInt32 nPlanes = 4,
double nearZ = 1.0,
double farZ = 1e20) = 0;
OdSmartPtr< OdGsOrthoCullingVolume > OdGsOrthoCullingVolumePtr
OdSmartPtr< OdGsFrustumCullingVolume > OdGsFrustumCullingVolumePtr
OdSmartPtr< OdGsCullingVolume > OdGsCullingVolumePtr
#define GS_TOOLKIT_EXPORT
void get(OdGePoint3d &base, OdGeVector3d &side1, OdGeVector3d &side2, OdGeVector3d &side3) const
const OdGePoint3d & maxPoint() const
const OdGePoint3d & minPoint() const
OdGePoint3d center() const
OdGsCullingBBox(const OdGePoint3d &min, const OdGePoint3d &max)
OdGsCullingBBox(const OdGeExtents3d &ext)
OdGsCullingBBox(const OdGsCullingBBox &aabb)
PrimitiveType primitiveType() const
OdGsCullingBSphere(const OdGsCullingBSphere &bsphere)
OdGsCullingBSphere(double radius, const OdGePoint3d ¢er)
PrimitiveType primitiveType() const
OdGsCullingBSphere(const OdGeSphere &sphere)
PrimitiveType primitiveType() const
OdGsCullingOBBox(const OdGePoint3d &base, const OdGeVector3d &xAxis, const OdGeVector3d &yAxis, const OdGeVector3d &zAxis)
OdGsCullingOBBox(const OdGeBoundBlock3d &bb)
OdGsCullingOBBox(const OdGsCullingOBBox &obb)
virtual ~OdGsCullingPrimitive()
virtual PrimitiveType primitiveType() const =0
virtual void transformBy(const OdGeMatrix3d &xfm)=0
virtual bool intersectWithOpt(const OdGsCullingPrimitive &prim) const =0
virtual IntersectionStatus intersectWith(const OdGsCullingPrimitive &prim) const =0
virtual ProjectionType projectionType() const =0
ODRX_DECLARE_MEMBERS(OdGsCullingVolume)
virtual void init(const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, double fovX, bool aspect, double fovY, OdUInt32 nPlanes=4, double nearZ=1.0, double farZ=1e20)=0
ODRX_DECLARE_MEMBERS(OdGsFrustumCullingVolume)
virtual void init(const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, double fovY, double aspect, OdUInt32 nPlanes=4, double nearZ=1.0, double farZ=1e20)=0
virtual void init(const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, double volumeWidth, double volumeHeight)=0
ODRX_DECLARE_MEMBERS(OdGsOrthoCullingVolume)
const T & min(const T &x, const T &y)
const T & max(const T &x, const T &y)