![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Rectangular 2d bounding box class associated to cartesian 2d coordinates. More...
#include <BoundingBox2d.h>
Public Types | |
| typedef Point2dData< T > | PointType |
| point type associated to object | |
Public Types inherited from ipsdk::geom::BaseTypedGeometryEntity2d< T > | |
| typedef T | DataType |
| data type associated to coordinates | |
Public Member Functions | |
| eCoordinateSystem2dType | getCoordinateSystem2dType () const |
| method allowing to retrieve coordinate system 2d type | |
| eEntity2dType | getEntity2dType () const |
| method allowing to retrieve entity 2d type | |
Constructors and destructors | |
| BoundingBox2d () | |
| BoundingBox2d (const Point2dData< T > &minCornerPt, const Point2dData< T > &maxCornerPt) | |
| BoundingBox2d (const Point2d< T > &minCornerPt, const Point2d< T > &maxCornerPt) | |
| BoundingBox2d (const T xMin, const T yMin, const T xMax, const T yMax) | |
| ~BoundingBox2d () | |
| void | setCoords (const Point2dData< T > &minCornerPt, const Point2dData< T > &maxCornerPt) |
| access to bounding box coordinates | |
| void | setCoords (const Point2d< T > &minCornerPt, const Point2d< T > &maxCornerPt) |
| access to bounding box coordinates | |
| void | setCoords (const T xMin, const T yMin, const T xMax, const T yMax) |
| access to bounding box coordinates | |
| void | setXMin (const T xMin) |
| access to bounding box coordinates | |
| void | setXMax (const T xMax) |
| access to bounding box coordinates | |
| void | setYMin (const T yMin) |
| access to bounding box coordinates | |
| void | setYMax (const T yMax) |
| access to bounding box coordinates | |
| void | setMinCornerPt (const Point2dData< T > &minCornerPt) |
| access to bounding box coordinates | |
| void | setMinCornerPt (const Point2d< T > &minCornerPt) |
| access to bounding box coordinates | |
| void | setMaxCornerPt (const Point2dData< T > &maxCornerPt) |
| access to bounding box coordinates | |
| void | setMaxCornerPt (const Point2d< T > &maxCornerPt) |
| access to bounding box coordinates | |
| T | getXMin () const |
| access to bounding box coordinates | |
| T | getXMax () const |
| access to bounding box coordinates | |
| T | getYMin () const |
| access to bounding box coordinates | |
| T | getYMax () const |
| access to bounding box coordinates | |
| T & | getXMin () |
| access to bounding box coordinates | |
| T & | getXMax () |
| access to bounding box coordinates | |
| T & | getYMin () |
| access to bounding box coordinates | |
| T & | getYMax () |
| access to bounding box coordinates | |
| const Point2dData< T > & | getMinCornerPt () const |
| access to bounding box coordinates | |
| const Point2dData< T > & | getMaxCornerPt () const |
| access to bounding box coordinates | |
| Point2dData< T > & | getMinCornerPt () |
| access to bounding box coordinates | |
| Point2dData< T > & | getMaxCornerPt () |
| access to bounding box coordinates | |
| T | sizeX () const |
| compute bounding box dimensions | |
| T | sizeY () const |
| compute bounding box dimensions | |
| T | getArea () const |
| compute bounding box dimensions | |
| ipReal64 | centerX () const |
| compute bounding box center point | |
| ipReal64 | centerY () const |
| compute bounding box center point | |
| Point2dData< ipReal64 > | center () const |
| compute bounding box center point | |
Public Member Functions inherited from ipsdk::geom::BaseTypedGeometryEntity2d< T > | |
| BaseTypedGeometryEntity2d () | |
| virtual | ~BaseTypedGeometryEntity2d ()=0 |
Public Member Functions inherited from ipsdk::geom::BaseGeometryEntity2d | |
| eCoordinateDimension | getCoordinateDimension () const |
| method allowing to retrieve entity underlying coordinates dimension | |
| BaseGeometryEntity2d () | |
| virtual | ~BaseGeometryEntity2d ()=0 |
Public Member Functions inherited from ipsdk::geom::BaseGeometryEntity | |
| BaseGeometryEntity () | |
| virtual | ~BaseGeometryEntity ()=0 |
Public Member Functions inherited from ipsdk::BaseObjectWithSkeleton | |
| const eSklSrzMode & | getSerializationMode () 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 BaseDynamicObject * | createNew () 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 BaseDynamicObject * | duplicate () 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 eCoordinateSystem2dType::domain | g_coordinateSystem2dType = eCoordinateSystem2dType::eCS2DT_Cartesian |
| coordinate system associated to entity | |
| static const eEntity2dType::domain | g_entity2dType = eEntity2dType::eE2DT_BoundingBox |
| type associated to entity | |
Static Public Attributes inherited from ipsdk::geom::BaseGeometryEntity2d | |
| static const eCoordinateDimension::domain | g_coordinateDimension = eCoordinateDimension::eCD_2d |
| entity underlying coordinates dimension | |
Protected Attributes | |
| Point2dData< T > | _minCornerPt |
| minimum coordinates point associated to bounding box | |
| Point2dData< 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 | |
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 | |
Rectangular 2d bounding box class associated to cartesian 2d coordinates.
This bounding box is axis aligned (and in consequence wont support transformations such as rotations)
1.8.14