IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
ipsdk::geom::MinEnclosingSphereTransform3d Class Reference

Algorithm allowing to compute minimum enclosing sphere of a 3d geometry entity. More...

#include <MinEnclosingSphereTransform3d.h>

Inheritance diagram for ipsdk::geom::MinEnclosingSphereTransform3d:
ipsdk::geom::BaseGeometryTransform3d ipsdk::geom::BaseGeometryTransform ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject

Public Types

typedef Sphere3d< ipReal64SphereType
 output sphere type
 
typedef boost::shared_ptr< SphereTypeSpherePtr
 shared pointer to output sphere type
 

Public Member Functions

eTransform3dType getTransform3dType () const
 method allowing to retrieve entity 3d transformation type
 
Constructors and destructor
 MinEnclosingSphereTransform3d ()
 
 ~MinEnclosingSphereTransform3d ()
 
- Public Member Functions inherited from ipsdk::geom::BaseGeometryTransform3d
eCoordinateDimension getCoordinateDimension () const
 method allowing to retrieve entity underlying coordinates dimension
 
virtual bool applyInSitu (BaseGeometryEntity3d &entity) const =0
 method allowing to apply in situ transformation to an entity More...
 
bool applyInSitu (const GeometryEntity3dPtr &pEntity) const
 method allowing to apply in situ transformation to an entity More...
 
virtual GeometryEntity3dPtr apply (const BaseGeometryEntity3d &entity) const =0
 method allowing to apply transformation to an entity More...
 
GeometryEntity3dPtr apply (const GeometryEntity3dConstPtr &pEntity) const
 method allowing to apply transformation to an entity More...
 
 BaseGeometryTransform3d ()
 
virtual ~BaseGeometryTransform3d ()=0
 
- Public Member Functions inherited from ipsdk::geom::BaseGeometryTransform
 BaseGeometryTransform ()
 
virtual ~BaseGeometryTransform ()=0
 
- 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 Member Functions

static Sphere3d< ipReal64minEnclosingSphere (const BaseGeometryEntity3d &entity)
 method allowing to apply transformation to an entity More...
 
- 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
 

Static Public Attributes

static const eTransform3dType::domain g_transform3dType = eTransform3dType::eT3DT_MinEnclosingSphere
 geometry transformation type
 
- Static Public Attributes inherited from ipsdk::geom::BaseGeometryTransform3d
static const eCoordinateDimension::domain g_coordinateDimension = eCoordinateDimension::eCD_3d
 entity underlying coordinates dimension
 

Protected Member Functions

template<typename T >
GeometryEntity3dPtr process (const Point3d< T > &entity) const
 dedicated processing methods
 
template<typename T >
GeometryEntity3dPtr process (const BoundingBox3d< T > &entity) const
 dedicated processing methods
 
template<typename T >
GeometryEntity3dPtr process (const PointCloud3d< T > &entity) const
 dedicated processing methods
 
template<typename T >
GeometryEntity3dPtr process (const Sphere3d< T > &entity) const
 dedicated processing methods
 
template<typename T >
GeometryEntity3dPtr process (const Ellipsoid3d< T > &entity) const
 dedicated processing methods
 
template<typename T >
GeometryEntity3dPtr process (const Cube3d< T > &entity) const
 dedicated processing methods
 
template<typename T >
GeometryEntity3dPtr process (const Cuboid3d< T > &entity) const
 dedicated processing methods
 
template<typename T >
GeometryEntity3dPtr process (const Mesh3d< T > &entity) const
 dedicated processing methods
 
template<typename T >
GeometryEntity3dPtr process (const MeshWithHoles3d< T > &entity) const
 dedicated processing methods
 
GeometryEntity3dPtr process (const Shape3d &entity) const
 dedicated processing methods
 
template<typename T >
GeometryEntity3dPtr process (const Segment3d< T > &entity) const
 dedicated processing methods
 
template<typename T >
GeometryEntity3dPtr process (const Triangle3d< T > &entity) const
 dedicated processing methods
 
- 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

Algorithm allowing to compute minimum enclosing sphere of a 3d geometry entity.

Author
E.Noirfalise
Date
2017/05/18

Member Function Documentation

◆ minEnclosingSphere()

static Sphere3d<ipReal64> ipsdk::geom::MinEnclosingSphereTransform3d::minEnclosingSphere ( const BaseGeometryEntity3d entity)
static

method allowing to apply transformation to an entity

Exceptions
ipsdk::geom::IPSDKGeometryExceptionin case of failure

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