![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Base class for image geometry. More...
#include <BaseImageGeometry.h>
Public Member Functions | |
| virtual eImageGeometryType | getImageGeometryType () const =0 |
| retrieve image geometry type | |
| bool | isInit () const |
| retrieve object initialisation flag | |
| ipUInt64 | getNbTotPlans () const |
| retrieve total number of plans for geometry More... | |
| bool | isValidPixelIdx (const ipUInt64 x, const ipUInt64 y) const |
| check whether a pixel index is valid given geometry More... | |
| ipUInt64 | getNbPixels () const |
| retrieve total number of pixels associated to geometry More... | |
| ipUInt64 | getFullMemorySize () const |
| retrieve total memory size associated to geometry (in octets) More... | |
| const eImageBufferType & | getBufferType () const |
| retrieve image data type More... | |
| virtual const eImageBufferType & | getBufferType (const ipUInt64 tPlanIdx) const |
| retrieve image data type for a given temporal plan More... | |
| void | resize (const VolumeGeometry &volumeGeometry, const ColorGeometry &colorGeometry, const TemporalGeometry &temporalGeometry, const ipUInt64 sizeX, const ipUInt64 sizeY) |
| change image geometry dimensions More... | |
| virtual void | resize (const VolumeGeometry &volumeGeometry, const ColorGeometry &colorGeometry, const TemporalGeometry &temporalGeometry, const ipUInt64 sizeX, const ipUInt64 sizeY, const eImageBufferType &imageBufferType) |
| change image geometry dimensions and image buffer type More... | |
| virtual void | setImageBufferType (const eImageBufferType &imageBufferType) |
| change image buffer type associated to all plans More... | |
| ImagePlanGeometry | getPlanGeometry (const ipUInt64 tPlanIdx) const |
| retrieve image plan geometry for a given plan More... | |
| ipUInt64 | getPlanNbPixels () const |
| retrieve image plan number of pixels More... | |
| ipUInt64 | getPlanMemorySize (const ipUInt64 tPlanIdx=0) const |
| retrieve image plan full memory size for a given plan More... | |
| void | clear () |
| clear object data | |
Constructors and destructors | |
| BaseImageGeometry () | |
| virtual | ~BaseImageGeometry ()=0 |
| const VolumeGeometry & | getVolumeGeometry () const |
| retrieve volume geometry (z) More... | |
| VolumeGeometry & | getVolumeGeometry () |
| retrieve volume geometry (z) More... | |
| const eVolumeGeometryType & | getVolumeGeometryType () const |
| retrieve volume geometry (z) More... | |
| ipUInt64 | getSizeZ () const |
| retrieve volume geometry (z) More... | |
| const ColorGeometry & | getColorGeometry () const |
| retrieve color geometry (c) More... | |
| ColorGeometry & | getColorGeometry () |
| retrieve color geometry (c) More... | |
| const eColorGeometryType & | getColorGeometryType () const |
| retrieve color geometry (c) More... | |
| ipUInt64 | getSizeC () const |
| retrieve color geometry (c) More... | |
| const TemporalGeometry & | getTemporalGeometry () const |
| retrieve temporal geometry (t) More... | |
| TemporalGeometry & | getTemporalGeometry () |
| retrieve temporal geometry (t) More... | |
| const eTemporalGeometryType & | getTemporalGeometryType () const |
| retrieve temporal geometry (t) More... | |
| ipUInt64 | getSizeT () const |
| retrieve temporal geometry (t) More... | |
| ipUInt64 | getSizeX () const |
| retrieve image x and y plan size More... | |
| ipUInt64 | getSizeY () const |
| retrieve image x and y plan size More... | |
| bool | isValidPlanIdx (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx) const |
| check whether a plan index is valid given geometry More... | |
| bool | isValidPlanIdx (const PlanIndex &planIdx) const |
| check whether a plan index is valid given geometry More... | |
| void | setVolumeGeometryType (const eVolumeGeometryType &vType) |
| Setters of geometry types : More... | |
| void | setColorGeometryType (const eColorGeometryType &cType) |
| Setters of geometry types : More... | |
| void | setTemporalGeometryType (const eTemporalGeometryType &tType) |
| Setters of geometry types : More... | |
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 |
Protected Member Functions | |
| void | initBase (const VolumeGeometry &volumeGeometry, const ColorGeometry &colorGeometry, const TemporalGeometry &temporalGeometry, const ipUInt64 sizeX, const ipUInt64 sizeY, const eImageBufferType &imageBufferType) |
| base class initialization method | |
| virtual void | clearDerived () |
| clear of object data in derived 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 | |
Friends | |
| class | BaseCompleteImage |
| class | DiskPlanStorage |
| class | UserPlanStorage |
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 | |
Base class for image geometry.
| const VolumeGeometry& ipsdk::image::BaseImageGeometry::getVolumeGeometry | ( | ) | const |
retrieve volume geometry (z)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| VolumeGeometry& ipsdk::image::BaseImageGeometry::getVolumeGeometry | ( | ) |
retrieve volume geometry (z)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| const eVolumeGeometryType& ipsdk::image::BaseImageGeometry::getVolumeGeometryType | ( | ) | const |
retrieve volume geometry (z)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| ipUInt64 ipsdk::image::BaseImageGeometry::getSizeZ | ( | ) | const |
retrieve volume geometry (z)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| const ColorGeometry& ipsdk::image::BaseImageGeometry::getColorGeometry | ( | ) | const |
retrieve color geometry (c)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| ColorGeometry& ipsdk::image::BaseImageGeometry::getColorGeometry | ( | ) |
retrieve color geometry (c)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| const eColorGeometryType& ipsdk::image::BaseImageGeometry::getColorGeometryType | ( | ) | const |
retrieve color geometry (c)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| ipUInt64 ipsdk::image::BaseImageGeometry::getSizeC | ( | ) | const |
retrieve color geometry (c)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| const TemporalGeometry& ipsdk::image::BaseImageGeometry::getTemporalGeometry | ( | ) | const |
retrieve temporal geometry (t)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| TemporalGeometry& ipsdk::image::BaseImageGeometry::getTemporalGeometry | ( | ) |
retrieve temporal geometry (t)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| const eTemporalGeometryType& ipsdk::image::BaseImageGeometry::getTemporalGeometryType | ( | ) | const |
retrieve temporal geometry (t)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| ipUInt64 ipsdk::image::BaseImageGeometry::getSizeT | ( | ) | const |
retrieve temporal geometry (t)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| ipUInt64 ipsdk::image::BaseImageGeometry::getSizeX | ( | ) | const |
retrieve image x and y plan size
| ipsdk::image::IPSDKImageException | if isInit() == false |
| ipUInt64 ipsdk::image::BaseImageGeometry::getSizeY | ( | ) | const |
retrieve image x and y plan size
| ipsdk::image::IPSDKImageException | if isInit() == false |
| ipUInt64 ipsdk::image::BaseImageGeometry::getNbTotPlans | ( | ) | const |
retrieve total number of plans for geometry
| ipsdk::image::IPSDKImageException | if isInit() == false |
| bool ipsdk::image::BaseImageGeometry::isValidPlanIdx | ( | const ipUInt64 | zPlanIdx, |
| const ipUInt64 | cPlanIdx, | ||
| const ipUInt64 | tPlanIdx | ||
| ) | const |
check whether a plan index is valid given geometry
| ipsdk::image::IPSDKImageException | if isInit() == false |
| bool ipsdk::image::BaseImageGeometry::isValidPlanIdx | ( | const PlanIndex & | planIdx | ) | const |
check whether a plan index is valid given geometry
| ipsdk::image::IPSDKImageException | if isInit() == false |
check whether a pixel index is valid given geometry
| ipsdk::image::IPSDKImageException | if isInit() == false |
| ipUInt64 ipsdk::image::BaseImageGeometry::getNbPixels | ( | ) | const |
retrieve total number of pixels associated to geometry
| ipsdk::image::IPSDKImageException | if isInit() == false |
| ipUInt64 ipsdk::image::BaseImageGeometry::getFullMemorySize | ( | ) | const |
retrieve total memory size associated to geometry (in octets)
| ipsdk::image::IPSDKImageException | if isInit() == false |
| const eImageBufferType& ipsdk::image::BaseImageGeometry::getBufferType | ( | ) | const |
retrieve image data type
| ipsdk::image::IPSDKImageException | if isInit() == false |
|
virtual |
retrieve image data type for a given temporal plan
| ipsdk::image::IPSDKImageException | if tPlanIdx >= getSizeT() |
Reimplemented in ipsdk::image::HeterogeneousImageGeometry.
| void ipsdk::image::BaseImageGeometry::resize | ( | const VolumeGeometry & | volumeGeometry, |
| const ColorGeometry & | colorGeometry, | ||
| const TemporalGeometry & | temporalGeometry, | ||
| const ipUInt64 | sizeX, | ||
| const ipUInt64 | sizeY | ||
| ) |
change image geometry dimensions
| ipsdk::image::IPSDKImageException | if isInit() == false |
|
virtual |
change image geometry dimensions and image buffer type
| ipsdk::image::IPSDKImageException | if isInit() == false |
| ipsdk::image::IPSDKImageException | if imageBufferType == eImageBufferType::eIBT_None |
Reimplemented in ipsdk::image::HeterogeneousImageGeometry.
|
virtual |
change image buffer type associated to all plans
| ipsdk::image::IPSDKImageException | if isInit() == false |
| ipsdk::image::IPSDKImageException | if imageBufferType == eImageBufferType::eIBT_None |
Reimplemented in ipsdk::image::HeterogeneousImageGeometry.
| ImagePlanGeometry ipsdk::image::BaseImageGeometry::getPlanGeometry | ( | const ipUInt64 | tPlanIdx | ) | const |
retrieve image plan geometry for a given plan
| ipsdk::image::IPSDKImageException | if tPlanIdx >= getSizeT() |
| ipUInt64 ipsdk::image::BaseImageGeometry::getPlanNbPixels | ( | ) | const |
retrieve image plan number of pixels
| ipsdk::image::IPSDKImageException | if isInit() == false |
retrieve image plan full memory size for a given plan
| ipsdk::image::IPSDKImageException | if tPlanIdx >= getSizeT() |
| void ipsdk::image::BaseImageGeometry::setVolumeGeometryType | ( | const eVolumeGeometryType & | vType | ) |
Setters of geometry types :
| ipsdk::image::IPSDKImageException | if isInit() == false |
| void ipsdk::image::BaseImageGeometry::setColorGeometryType | ( | const eColorGeometryType & | cType | ) |
Setters of geometry types :
| ipsdk::image::IPSDKImageException | if isInit() == false |
| void ipsdk::image::BaseImageGeometry::setTemporalGeometryType | ( | const eTemporalGeometryType & | tType | ) |
Setters of geometry types :
| ipsdk::image::IPSDKImageException | if isInit() == false |
1.8.14