IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
InOutImageYStrip3d.h
1 // InOutImageYStrip3d.h:
3 // ---------------------
4 //
14 
15 #ifndef __IPSDKIMAGE_INOUTIMAGEYSTRIP3D_H__
16 #define __IPSDKIMAGE_INOUTIMAGEYSTRIP3D_H__
17 
18 #include <IPSDKImage/Fragment/Strip/YStrip3d/BaseImageYStrip3d.h>
19 
20 namespace ipsdk {
21 namespace image {
22 
25 
27 {
28  // declare serial class
30 
31  // declare in/out data
33 
34  // friend class for protected members access
35  friend struct ImageStripExtractor;
36 
37 // predefined public types
38 public:
39  // Image support type
40  typedef BaseImage ImageType;
41 
42 public:
48 
49 // methods
50 public:
51  //-----------------------------------
54  //-----------------------------------
55 
62  BoolResult readFromImage() const;
63 
72  BoolResult writeToImage();
74 
80  FragHybridBuffer& getBuffer(const ipUInt64 yPlanIdx);
81 
82 protected:
88  void init(const ipUInt64 cPlanIdx,
89  const ipUInt64 tPlanIdx,
90  const ipUInt64 stripStartOffsetY,
91  const ipUInt64 stripSizeY,
92  const eStripAllocationType& stripAllocationType,
93  const eStripParsingDirection& stripParsingDirection,
94  const PlanStorageColl1d& volumeColl,
95  const DataIdentifierConstPtr& pImageIdentifier,
96  const DataItemMapConstPtr& pImageHeader);
97 
98 // attributes
99 protected:
100 
101 };
102 
105 
106 inline FragHybridBuffer&
108 {
109  return accessBuffer(yPlanIdx);
110 }
111 
114 
115 } // end of namespace image
116 } // end of namespace ipsdk
117 
118 #endif // __IPSDKIMAGE_INOUTIMAGEYSTRIP3D_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Base class for image 3d strip with splitting along Y axis.
Definition: BaseImageYStrip3d.h:33
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
const FragHybridBuffer & accessBuffer(const ipUInt64 yPlanIdx) const
access to strip full buffer
#define IPSDK_DECLARE_INOUT_DATA()
macro allowing to declare an in/out data
Definition: DataStatusHdrMacros.h:120
Class allowing to encapsulate an hybrid form of fragment buffer.
Definition: FragHybridBuffer.h:53
FragHybridBuffer & getBuffer(const ipUInt64 yPlanIdx)
retrieve strip full buffer
Definition: InOutImageYStrip3d.h:107
eStripAllocationType
Enumerate describing image strip allocation policy.
Definition: ImageStripTypes.h:88
#define IPSDK_DECLARE_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:79
Input and output class for image 3d strip with splitting along Y axis.
Definition: InOutImageYStrip3d.h:26
Structure used to extract image strips from an image.
Definition: ImageStripExtractor.h:31
boost::shared_ptr< const DataItemMap > DataItemMapConstPtr
shared pointer to const DataItemMap
Definition: DataItemTypes.h:170
#define IPSDKIMAGE_API
Import/Export macro for library IPSDKImage.
Definition: IPSDKImageExports.h:27
eStripParsingDirection
Enumerate describing strip parsing direction.
Definition: ImageStripTypes.h:72
boost::shared_ptr< const DataIdentifier > DataIdentifierConstPtr
shared pointer to const data identifier
Definition: DataIdentifierTypes.h:31
std::vector< PlanStoragePtr > PlanStorageColl1d
Definition: ImageTypes.h:184
Base class for images data type.
Definition: BaseImage.h:43