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

Base class for geometry 2d transformations. More...

#include <BaseGeometryTransform2d.h>

Inheritance diagram for ipsdk::geom::BaseGeometryTransform2d:
ipsdk::geom::BaseGeometryTransform ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject ipsdk::geom::AnisotropicScaleTransform2d ipsdk::geom::CentroidTransform2d ipsdk::geom::ConvexHullTransform2d ipsdk::geom::EnvelopeTransform2d ipsdk::geom::HomographyTransform2d ipsdk::geom::MinEnclosingCircleTransform2d ipsdk::geom::RigidTransform2d ipsdk::geom::RotationTransform2d ipsdk::geom::ScaleTransform2d ipsdk::geom::SimilarityTransform2d ipsdk::geom::SimplifyTransform2d ipsdk::geom::TranslationTransform2d

Public Member Functions

eCoordinateDimension getCoordinateDimension () const
 method allowing to retrieve entity underlying coordinates dimension
 
virtual eTransform2dType getTransform2dType () const =0
 method allowing to retrieve entity 2d transformation type
 
virtual bool applyInSitu (BaseGeometryEntity2d &entity) const =0
 method allowing to apply in situ transformation to an entity More...
 
bool applyInSitu (const GeometryEntity2dPtr &pEntity) const
 method allowing to apply in situ transformation to an entity More...
 
virtual GeometryEntity2dPtr apply (const BaseGeometryEntity2d &entity) const =0
 method allowing to apply transformation to an entity More...
 
GeometryEntity2dPtr apply (const GeometryEntity2dConstPtr &pEntity) const
 method allowing to apply transformation to an entity More...
 
Constructors and destructors
 BaseGeometryTransform2d ()
 
virtual ~BaseGeometryTransform2d ()=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 Attributes

static const eCoordinateDimension::domain g_coordinateDimension = eCoordinateDimension::eCD_2d
 entity underlying coordinates dimension
 

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
 

Detailed Description

Base class for geometry 2d transformations.

Author
E. Noirfalise
Date
2015/04/17

Member Function Documentation

◆ applyInSitu() [1/2]

virtual bool ipsdk::geom::BaseGeometryTransform2d::applyInSitu ( BaseGeometryEntity2d entity) const
pure virtual

method allowing to apply in situ transformation to an entity

Returns
false if transformation can't be processed

◆ applyInSitu() [2/2]

bool ipsdk::geom::BaseGeometryTransform2d::applyInSitu ( const GeometryEntity2dPtr pEntity) const

method allowing to apply in situ transformation to an entity

Returns
false if transformation can't be processed

◆ apply() [1/2]

virtual GeometryEntity2dPtr ipsdk::geom::BaseGeometryTransform2d::apply ( const BaseGeometryEntity2d entity) const
pure virtual

method allowing to apply transformation to an entity

Returns
null shared pointer if transformation can't be processed

◆ apply() [2/2]

GeometryEntity2dPtr ipsdk::geom::BaseGeometryTransform2d::apply ( const GeometryEntity2dConstPtr pEntity) const

method allowing to apply transformation to an entity

Returns
null shared pointer if transformation can't be processed

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