IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Static Public Attributes | Protected Member Functions | Friends | List of all members
ipsdk::image::BaseImageXStrip2d Class Referenceabstract

Base class for image 2d strip with splitting along X axis. More...

#include <BaseImageXStrip2d.h>

Inheritance diagram for ipsdk::image::BaseImageXStrip2d:
ipsdk::image::BaseImageStrip ipsdk::image::BaseImageFragment ipsdk::BaseObjectWithSkeleton ipsdk::BaseIOData ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject ipsdk::image::InOutImageXStrip2d ipsdk::image::InputImageXStrip2d ipsdk::image::OutputImageXStrip2d

Public Member Functions

eImageStripType getImageStripType () const
 retrieve image strip type
 
const FragHybridBuffergetBuffer () const
 retrieve strip full buffer More...
 
FragHybridBufferConstPtr getBufferPtr () const
 retrieve pointer to strip full buffer More...
 
Constructors and destructors
 BaseImageXStrip2d ()
 
virtual ~BaseImageXStrip2d ()=0
 
Strip structure informations
const eStripParsingDirectiongetStripParsingDirection () const
 access to used strip parsing direction More...
 
ipUInt64 getSizeY () const
 retrieve image size along y direction More...
 
ipUInt64 getStripStartOffsetX () const
 retrieve strip start offset for data along x direction More...
 
ipUInt64 getStripSizeX () const
 retrieve strip data size along x direction More...
 
ipUInt64 getImageSizeX () const
 retrieve full image size along x direction More...
 
bool isValidX (ipUInt64 x) const
 check whether a x coordinate value is valid for object More...
 
const eImageBufferTypegetBufferType () const
 retrieve image buffer type More...
 
const ipUInt64 getFullStripSize () const
 retrieve image strip size (number of pixels) More...
 
const ipUInt64 getPlanStripSize () const
 retrieve xy plan image strip size (number of pixels) More...
 
const ipUInt64 getStripNbPlans () const
 retrieve number of xy plans associated to strip More...
 
Plan Indexes
ipUInt64 getZPlanIdx () const
 retrieve z plan index for image strip in full image More...
 
ipUInt64 getCPlanIdx () const
 retrieve c plan index for image strip in full image More...
 
ipUInt64 getTPlanIdx () const
 retrieve t plan index for image strip in full image More...
 
- Public Member Functions inherited from ipsdk::image::BaseImageStrip
eImageFragmentType getImageFragmentType () const
 retrieve image fragment type
 
const eStripAllocationTypegetStripAllocationType () const
 retrieve flag indicating used strip allocation type More...
 
virtual ipBool fromDisk () const
 returns true if the strip is extracted from a disk image
 
 BaseImageStrip ()
 
virtual ~BaseImageStrip ()=0
 
- Public Member Functions inherited from ipsdk::image::BaseImageFragment
virtual bool isInput () const =0
 retrieve fragment input state More...
 
virtual bool isOutput () const =0
 retrieve fragment output state More...
 
bool isInOut () const
 retrieve fragment in/out state
 
bool isInit () const
 retrieve object initialization flag
 
eDataAccessMode getDataAccessMode () const
 retrieve flag indicating access mode for an image fragment data More...
 
bool hasLocalDataAccess () const
 retrieve flag indicating whether fragment data can locally be accessed More...
 
bool isBufferInit () const
 check whether strip buffer has been initialized More...
 
BoolResult initBuffer ()
 method allowing to initialize strip buffer More...
 
void clearBuffer ()
 method allowing to clear strip buffer More...
 
bool isBufferSyncInput () const
 retrieve flag indicating whether buffer has been synchronised from image (read from image storage) More...
 
bool isBufferSyncOutput () const
 retrieve flag indicating whether buffer has been synchronised to image (write to image storage) More...
 
void clear ()
 clear object initialization data
 
 BaseImageFragment ()
 
virtual ~BaseImageFragment ()=0
 
const GuidgetGuid () const
 access to image guid More...
 
const std::string & getName () const
 access to image name More...
 
bool existsHeaderKey (const std::string &key) const
 check whether a given key exists into header More...
 
ItemNames getHeaderKeys () const
 retrieve header key list More...
 
const BaseDataItemgetHeaderItem (const std::string &key) const
 retrieve a header item given associated key More...
 
- 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
 
- Public Member Functions inherited from ipsdk::BaseIOData
virtual eIOStatus getIOStatus () const =0
 retrieve data input/output status
 
 BaseIOData ()
 
virtual ~BaseIOData ()=0
 

Static Public Attributes

static const eImageStripType::domain g_imageStripType = eImageStripType::eIST_X2d
 image strip type
 
- Static Public Attributes inherited from ipsdk::image::BaseImageStrip
static const eImageFragmentType::domain g_imageFragmentType = eImageFragmentType::eIFT_ImageStrip
 image strip type
 

Protected Member Functions

void initBase (const ipUInt64 zPlanIdx, const ipUInt64 cPlanIdx, const ipUInt64 tPlanIdx, const ipUInt64 stripStartOffsetX, const ipUInt64 stripSizeX, const eStripAllocationType &stripAllocationType, const eStripParsingDirection &stripParsingDirection, const PlanStoragePtr &pPlanStorage, const DataIdentifierConstPtr &pImageIdentifier, const DataItemMapConstPtr &pImageHeader)
 base class initialization
 
bool isBufferInitDerived () const
 check whether strip buffer has been initialized in derived class
 
BoolResult initBufferDerived ()
 method allowing to initialize strip buffer in derived class
 
void clearBufferDerived ()
 method allowing to clear strip buffer in derived class
 
eDataAccessMode retrieveAccessMode () const
 method allowing to retrieve data access mode associated to fragment
 
void clearDerived ()
 clear function defined in derived class
 
Strip read and write access
BoolResult readDataDerived () const
 read image strip data from image storage More...
 
BoolResult writeDataDerived ()
 write image strip data to image storage More...
 
const FragHybridBufferaccessBuffer () const
 access to strip full buffer More...
 
FragHybridBufferaccessBuffer ()
 access to strip full buffer More...
 
- Protected Member Functions inherited from ipsdk::image::BaseImageStrip
void initBase (const DataIdentifierConstPtr &pImageIdentifier, const DataItemMapConstPtr &pImageHeader, const eStripAllocationType &stripAllocationType)
 base class initialization method
 
- Protected Member Functions inherited from ipsdk::image::BaseImageFragment
void initBase (const DataIdentifierConstPtr &pImageIdentifier, const DataItemMapConstPtr &pImageHeader)
 base class initialization method
 
BoolResult readData () const
 read image strip data from image storage More...
 
BoolResult writeData ()
 write image strip data to image storage More...
 
- 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 BaseImageXStrip2dWithKernel
 

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 Attributes inherited from ipsdk::image::BaseImageStrip
eStripAllocationType _stripAllocationType
 flag indicating used strip allocation type
 
- Protected Attributes inherited from ipsdk::BaseObjectWithSkeleton
eSklSrzMode _sklSrzMode
 serialization flag for object More...
 

Detailed Description

Base class for image 2d strip with splitting along X axis.

Author
E.Noirfalise
Date
2015/01/09

Member Function Documentation

◆ getStripParsingDirection()

const eStripParsingDirection& ipsdk::image::BaseImageXStrip2d::getStripParsingDirection ( ) const

access to used strip parsing direction

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

◆ getSizeY()

ipUInt64 ipsdk::image::BaseImageXStrip2d::getSizeY ( ) const

retrieve image size along y direction

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

◆ getStripStartOffsetX()

ipUInt64 ipsdk::image::BaseImageXStrip2d::getStripStartOffsetX ( ) const

retrieve strip start offset for data along x direction

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

◆ getStripSizeX()

ipUInt64 ipsdk::image::BaseImageXStrip2d::getStripSizeX ( ) const

retrieve strip data size along x direction

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

◆ getImageSizeX()

ipUInt64 ipsdk::image::BaseImageXStrip2d::getImageSizeX ( ) const

retrieve full image size along x direction

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

◆ isValidX()

bool ipsdk::image::BaseImageXStrip2d::isValidX ( ipUInt64  x) const

check whether a x coordinate value is valid for object

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

◆ getBufferType()

const eImageBufferType& ipsdk::image::BaseImageXStrip2d::getBufferType ( ) const
virtual

retrieve image buffer type

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

Implements ipsdk::image::BaseImageStrip.

◆ getFullStripSize()

const ipUInt64 ipsdk::image::BaseImageXStrip2d::getFullStripSize ( ) const
virtual

retrieve image strip size (number of pixels)

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

Implements ipsdk::image::BaseImageStrip.

◆ getPlanStripSize()

const ipUInt64 ipsdk::image::BaseImageXStrip2d::getPlanStripSize ( ) const
virtual

retrieve xy plan image strip size (number of pixels)

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

Implements ipsdk::image::BaseImageStrip.

◆ getStripNbPlans()

const ipUInt64 ipsdk::image::BaseImageXStrip2d::getStripNbPlans ( ) const
virtual

retrieve number of xy plans associated to strip

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

Implements ipsdk::image::BaseImageStrip.

◆ getZPlanIdx()

ipUInt64 ipsdk::image::BaseImageXStrip2d::getZPlanIdx ( ) const

retrieve z plan index for image strip in full image

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

◆ getCPlanIdx()

ipUInt64 ipsdk::image::BaseImageXStrip2d::getCPlanIdx ( ) const

retrieve c plan index for image strip in full image

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

◆ getTPlanIdx()

ipUInt64 ipsdk::image::BaseImageXStrip2d::getTPlanIdx ( ) const

retrieve t plan index for image strip in full image

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

◆ getBuffer()

const FragHybridBuffer & ipsdk::image::BaseImageXStrip2d::getBuffer ( ) const
inline

retrieve strip full buffer

Exceptions
ipsdk::image::IPSDKImageExceptionif isBufferInit() == false

◆ getBufferPtr()

FragHybridBufferConstPtr ipsdk::image::BaseImageXStrip2d::getBufferPtr ( ) const

retrieve pointer to strip full buffer

Exceptions
ipsdk::image::IPSDKImageExceptionif isBufferInit() == false

◆ readDataDerived()

BoolResult ipsdk::image::BaseImageXStrip2d::readDataDerived ( ) const
protectedvirtual

read image strip data from image storage

Returns
false in case of failure

Implements ipsdk::image::BaseImageFragment.

◆ writeDataDerived()

BoolResult ipsdk::image::BaseImageXStrip2d::writeDataDerived ( )
protectedvirtual

write image strip data to image storage

Returns
false in case of failure

Implements ipsdk::image::BaseImageFragment.

◆ accessBuffer() [1/2]

const FragHybridBuffer& ipsdk::image::BaseImageXStrip2d::accessBuffer ( ) const
protected

access to strip full buffer

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

◆ accessBuffer() [2/2]

FragHybridBuffer& ipsdk::image::BaseImageXStrip2d::accessBuffer ( )
protected

access to strip full buffer

Exceptions
ipsdk::image::IPSDKImageExceptionif isInit() == false

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