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

3d sphere associated to cartesian 3d coordinates More...

#include <Sphere3d.h>

Inheritance diagram for ipsdk::geom::Sphere3d< 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
 
ipReal64 area () const
 retrieve sphere area
 
ipReal64 volume () const
 retrieve sphere volume
 
Constructors and destructors
 Sphere3d ()
 
 Sphere3d (const Point3dData< T > &center, const T radius)
 
 Sphere3d (const Point3d< T > &center, const T radius)
 
 Sphere3d (const T xCenter, const T yCenter, const T zCenter, const T radius)
 
 ~Sphere3d ()
 
void setCoords (const Point3dData< T > &centerPt, const T radius)
 access to the sphere parameters
 
void setCoords (const Point3d< T > &centerPt, const T radius)
 access to the sphere parameters
 
void setCoords (const T xCenter, const T yCenter, const T zCenter, const T radius)
 access to the sphere parameters
 
void setCenter (const Point3dData< T > &centerPt)
 access to the sphere parameters
 
void setCenter (const Point3d< T > &centerPt)
 access to the sphere parameters
 
void setCenter (const T xCenter, const T yCenter, const T zCenter)
 access to the sphere parameters
 
void setRadius (const T radius)
 access to the sphere parameters
 
getRadius () const
 access to the sphere parameters
 
centerX () const
 access to the sphere parameters
 
centerY () const
 access to the sphere parameters
 
centerZ () const
 access to the sphere parameters
 
const Point3dData< T > & center () const
 access to the sphere parameters
 
Point3dData< T > & center ()
 access to the sphere parameters
 
ipReal64 distance (const Point3d< T > &pt) const
 retrieve orthogonal distance between point and sphere
 
ipReal64 distance (const Point3dData< T > &pt) const
 retrieve orthogonal distance between point and sphere
 
ipReal64 signedDistance (const Point3d< T > &pt) const
 retrieve signed orthogonal distance between point and sphere (positive value stands for exterior point)
 
ipReal64 signedDistance (const Point3dData< T > &pt) const
 retrieve signed orthogonal distance between point and sphere (positive value stands for exterior 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_Sphere
 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 sphere
 
_radius
 radius of the circle
 
- 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::Sphere3d< T >

3d sphere associated to cartesian 3d coordinates

Author
R. Abbal
Date
2015/06/23

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