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::Cube3d< T > Class Template Reference

3d cube class associated to cartesian 3d coordinates More...

#include <Cube3d.h>

Inheritance diagram for ipsdk::geom::Cube3d< 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
 Cube3d ()
 
 Cube3d (const Point3dData< T > &center, const T halfLength, const ipReal64 alpha, const ipReal64 beta, const ipReal64 chi)
 
 Cube3d (const Point3d< T > &center, const T halfLength, const ipReal64 alpha, const ipReal64 beta, const ipReal64 chi)
 
 Cube3d (const T xCenter, const T yCenter, const T zCenter, const T halfLength, const ipReal64 alpha, const ipReal64 beta, const ipReal64 chi)
 
 ~Cube3d ()
 
void setCenter (const Point3dData< T > &centerPt)
 access to the cube parameters
 
void setCenter (const Point3d< T > &centerPt)
 access to the cube parameters
 
void setCenter (const T xCenter, const T yCenter, const T zCenter)
 access to the cube parameters
 
void setHalfLength (const T halfLength)
 access to the cube parameters
 
void setAlpha (const ipReal64 theta)
 access to the cube parameters
 
void setBeta (const ipReal64 theta)
 access to the cube parameters
 
void setChi (const ipReal64 theta)
 access to the cube parameters
 
getHalfLength () const
 access to the cube parameters
 
getLength () const
 access to the cube parameters
 
ipReal64 getAlpha () const
 access to the cube parameters
 
ipReal64 getBeta () const
 access to the cube parameters
 
ipReal64 getChi () const
 access to the cube parameters
 
centerX () const
 access to the cube parameters
 
centerY () const
 access to the cube parameters
 
centerZ () const
 access to the cube parameters
 
const Point3dData< T > & center () const
 access to the cube parameters
 
Point3dData< T > & center ()
 access to the cube parameters
 
Point3dData< T > topLeftFrontCorner () const
 compute cube corners coordinates For instance, the topLeftFrontCorner() method calculates the square corner coordinates which would be on the front face, at the top-left for a non-rotated cube
 
Point3dData< T > topRightFrontCorner () const
 compute cube corners coordinates For instance, the topLeftFrontCorner() method calculates the square corner coordinates which would be on the front face, at the top-left for a non-rotated cube
 
Point3dData< T > bottomLeftFrontCorner () const
 compute cube corners coordinates For instance, the topLeftFrontCorner() method calculates the square corner coordinates which would be on the front face, at the top-left for a non-rotated cube
 
Point3dData< T > bottomRightFrontCorner () const
 compute cube corners coordinates For instance, the topLeftFrontCorner() method calculates the square corner coordinates which would be on the front face, at the top-left for a non-rotated cube
 
Point3dData< T > topLeftBackCorner () const
 compute cube corners coordinates For instance, the topLeftFrontCorner() method calculates the square corner coordinates which would be on the front face, at the top-left for a non-rotated cube
 
Point3dData< T > topRightBackCorner () const
 compute cube corners coordinates For instance, the topLeftFrontCorner() method calculates the square corner coordinates which would be on the front face, at the top-left for a non-rotated cube
 
Point3dData< T > bottomLeftBackCorner () const
 compute cube corners coordinates For instance, the topLeftFrontCorner() method calculates the square corner coordinates which would be on the front face, at the top-left for a non-rotated cube
 
Point3dData< T > bottomRightBackCorner () const
 compute cube corners coordinates For instance, the topLeftFrontCorner() method calculates the square corner coordinates which would be on the front face, at the top-left for a non-rotated cube
 
- 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_Cube
 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 > _centerPt
 center of the cube
 
_halfLength
 half length of a side of the cube
 
ipReal64 _alpha
 orientation angle along the x axis
 
ipReal64 _beta
 orientation angle along the y axis
 
ipReal64 _chi
 orientation angle along the z axis
 
- 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::Cube3d< T >

3d cube class associated to cartesian 3d coordinates

Author
R. Abbal
Date
2015/06/25

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