IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
ipsdk::geom::BoundingBox3d< T > Class Template Reference

Rectangular 3d bounding box class associated to cartesian 3d coordinates. More...

#include <BoundingBox3d.h>

Inheritance diagram for ipsdk::geom::BoundingBox3d< T >:
ipsdk::geom::BaseTypedGeometryEntity3d< T > ipsdk::geom::BaseGeometryEntity3d ipsdk::geom::BaseGeometryEntity ipsdk::BaseObjectWithSkeleton ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject

Public Member Functions

eCoordinateSystem3dType getCoordinateSystem3dType () const
 method allowing to retrieve coordinate system 3d type
 
eEntity3dType getEntity3dType () const
 method allowing to retrieve entity 3d type
 
Constructors and destructors
 BoundingBox3d ()
 
 BoundingBox3d (const Point3dData< T > &minCornerPt, const Point3dData< T > &maxCornerPt)
 
 BoundingBox3d (const Point3d< T > &minCornerPt, const Point3d< T > &maxCornerPt)
 
 BoundingBox3d (const T xMin, const T yMin, const T zMin, const T xMax, const T yMax, const T zMax)
 
 ~BoundingBox3d ()
 
void setCoords (const Point3dData< T > &minCornerPt, const Point3dData< T > &maxCornerPt)
 access to point coordinates
 
void setCoords (const Point3d< T > &minCornerPt, const Point3d< T > &maxCornerPt)
 access to point coordinates
 
void setCoords (const T xMin, const T yMin, const T zMin, const T xMax, const T yMax, const T zMax)
 access to point coordinates
 
void setXMin (const T xMin)
 access to point coordinates
 
void setXMax (const T xMax)
 access to point coordinates
 
void setYMin (const T yMin)
 access to point coordinates
 
void setYMax (const T yMax)
 access to point coordinates
 
void setZMin (const T zMin)
 access to point coordinates
 
void setZMax (const T zMax)
 access to point coordinates
 
void setMinCornerPt (const Point3dData< T > &minCornerPt)
 access to point coordinates
 
void setMinCornerPt (const Point3d< T > &minCornerPt)
 access to point coordinates
 
void setMaxCornerPt (const Point3dData< T > &maxCornerPt)
 access to point coordinates
 
void setMaxCornerPt (const Point3d< T > &maxCornerPt)
 access to point coordinates
 
getXMin () const
 access to point coordinates
 
getXMax () const
 access to point coordinates
 
getYMin () const
 access to point coordinates
 
getYMax () const
 access to point coordinates
 
getZMin () const
 access to point coordinates
 
getZMax () const
 access to point coordinates
 
T & getXMin ()
 access to point coordinates
 
T & getXMax ()
 access to point coordinates
 
T & getYMin ()
 access to point coordinates
 
T & getYMax ()
 access to point coordinates
 
T & getZMin ()
 access to point coordinates
 
T & getZMax ()
 access to point coordinates
 
const Point3dData< T > & getMinCornerPt () const
 access to point coordinates
 
const Point3dData< T > & getMaxCornerPt () const
 access to point coordinates
 
Point3dData< T > & getMinCornerPt ()
 access to point coordinates
 
Point3dData< T > & getMaxCornerPt ()
 access to point coordinates
 
sizeX () const
 compute bounding box dimensions
 
sizeY () const
 compute bounding box dimensions
 
sizeZ () const
 compute bounding box dimensions
 
ipReal64 centerX () const
 compute bounding box center point
 
ipReal64 centerY () const
 compute bounding box center point
 
ipReal64 centerZ () const
 compute bounding box center point
 
Point3dData< ipReal64center () const
 compute bounding box center point
 
- Public Member Functions inherited from ipsdk::geom::BaseTypedGeometryEntity3d< T >
 BaseTypedGeometryEntity3d ()
 
virtual ~BaseTypedGeometryEntity3d ()=0
 
- Public Member Functions inherited from ipsdk::geom::BaseGeometryEntity3d
eCoordinateDimension getCoordinateDimension () const
 method allowing to retrieve entity underlying coordinates dimension
 
 BaseGeometryEntity3d ()
 
virtual ~BaseGeometryEntity3d ()=0
 
- Public Member Functions inherited from ipsdk::geom::BaseGeometryEntity
 BaseGeometryEntity ()
 
virtual ~BaseGeometryEntity ()=0
 
- Public Member Functions inherited from ipsdk::BaseObjectWithSkeleton
const eSklSrzModegetSerializationMode () const
 retrieve serialization flag for object More...
 
void setSerializationMode (const eSklSrzMode &sklSrzMode) const
 set serialization flag for object
 
 BaseObjectWithSkeleton ()
 
 ~BaseObjectWithSkeleton ()
 
- Public Member Functions inherited from ipsdk::BaseSerializationObject
 BaseSerializationObject ()
 Default constructor.
 
virtual ~BaseSerializationObject ()=0
 destructor
 
- Public Member Functions inherited from ipsdk::BaseDynamicObject
virtual const std::string & getClassName () const
 method allowing to retrieve object class name
 
virtual BaseDynamicObjectcreateNew () const =0
 method allowing to create new instance of current object type
 
virtual DynamicObjectPtr createShared () const =0
 method allowing to create new shared instance of current object type
 
virtual bool hasCopySupport () const =0
 check whether objet has copy support
 
virtual BaseDynamicObjectduplicate () const =0
 method allowing to duplicate current object More...
 
virtual DynamicObjectPtr duplicateShared () const =0
 method allowing shared duplication of current object More...
 
 BaseDynamicObject ()
 
virtual ~BaseDynamicObject ()=0
 

Static Public Attributes

static const eCoordinateSystem3dType::domain g_coordinateSystem3dType = eCoordinateSystem3dType::eCS3DT_Cartesian
 coordinate system associated to entity
 
static const eEntity3dType::domain g_entity3dType = eEntity3dType::eE3DT_BoundingBox
 type associated to entity
 
- Static Public Attributes inherited from ipsdk::geom::BaseGeometryEntity3d
static const eCoordinateDimension::domain g_coordinateDimension = eCoordinateDimension::eCD_3d
 entity underlying coordinates dimension
 

Protected Attributes

Point3dData< T > _minCornerPt
 minimum coordinates point associated to bounding box
 
Point3dData< T > _maxCornerPt
 maximum coordinates point associated to bounding box
 
- Protected Attributes inherited from ipsdk::BaseObjectWithSkeleton
eSklSrzMode _sklSrzMode
 serialization flag for object More...
 

Additional Inherited Members

- Public Types inherited from ipsdk::geom::BaseTypedGeometryEntity3d< T >
typedef T DataType
 data type associated to coordinates
 
- Static Public Member Functions inherited from ipsdk::BaseSerializationObject
static ipUInt32 getVersion ()
 method allowing to retrieve class version information for serialization
 
- Static Public Member Functions inherited from ipsdk::BaseDynamicObject
static const std::string & getTypeName ()
 method allowing to retrieve name associated to class
 
- Protected Member Functions inherited from ipsdk::BaseSerializationObject
virtual BoolResult write (BaseOArchive &ar) const
 method allowing to ensure serialization write part for object
 
virtual BoolResult read (BaseIArchive &ar)
 method allowing to ensure serialization read part for object
 
- Protected Member Functions inherited from ipsdk::BaseDynamicObject
virtual void initCtorCopy (const BaseDynamicObject &object)
 
virtual void copy (const BaseDynamicObject &object)
 method allowing to copy data from another object
 

Detailed Description

template<typename T>
class ipsdk::geom::BoundingBox3d< T >

Rectangular 3d bounding box class associated to cartesian 3d coordinates.

Author
E. Noirfalise
Date
2015/04/22

This bounding box is axis aligned (and in consequence wont support transformations such as rotations)


The documentation for this class was generated from the following file: