IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
OutputImageYStripSeq2d.h
1 // OutputImageYStripSeq2d.h:
3 // -------------------------
4 //
15 
16 #ifndef __IPSDKIMAGE_OUTPUTIMAGEYSTRIPSEQ2D_H__
17 #define __IPSDKIMAGE_OUTPUTIMAGEYSTRIPSEQ2D_H__
18 
19 #include <IPSDKImage/Fragment/Strip/YStripSeq2d/BaseImageYStripSeq2d.h>
20 
21 namespace ipsdk {
22 namespace image {
23 
26 
28 {
29  // declare serial class
31 
32  // declare output data
34 
35  // friend class for protected members access
36  friend struct ImageStripExtractor;
37 
38 // predefined public types
39 public:
40  // Image support type
41  typedef BaseImage ImageType;
42 
43 public:
49 
50 // methods
51 public:
52  //-----------------------------------
55  //-----------------------------------
56 
61  BoolResult writeToImage();
63 
67  HybridBuffer& getBuffer(const ipUInt64 tPlanIdx);
68 
69 protected:
75  void init(const ipUInt64 zPlanIdx,
76  const ipUInt64 cPlanIdx,
77  const ipUInt64 stripStartOffsetY,
78  const ipUInt64 stripSizeY,
79  const eStripAllocationType& stripAllocationType,
80  const eStripParsingDirection& stripParsingDirection,
81  const PlanStorageColl1d& temporalColl,
82  const DataIdentifierConstPtr& pImageIdentifier,
83  const DataItemMapConstPtr& pImageHeader);
84 
86  void createSubStrip(const ipUInt64 zPlanIdx,
87  const ipUInt64 cPlanIdx,
88  const ipUInt64 tPlanIdx,
89  const ipUInt64 stripStartOffsetY,
90  const ipUInt64 stripSizeY,
91  const eStripAllocationType& stripAllocationType,
92  const eStripParsingDirection& stripParsingDirection,
93  const PlanStoragePtr& pPlanStorage,
94  const DataIdentifierConstPtr& pImageIdentifier,
95  const DataItemMapConstPtr& pImageHeader,
96  ImageYStrip2dPtr& pImageYStrip2d) const;
97 
98 // attributes
99 protected:
100 
101 };
102 
105 
106 inline HybridBuffer&
108 {
109  return accessBuffer(tPlanIdx);
110 }
111 
114 
115 } // end of namespace image
116 } // end of namespace ipsdk
117 
118 #endif // __IPSDKIMAGE_OUTPUTIMAGEYSTRIPSEQ2D_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
HybridBuffer & getBuffer(const ipUInt64 tPlanIdx)
retrieve strip full buffer
Definition: OutputImageYStripSeq2d.h:107
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
#define IPSDK_DECLARE_OUTPUT_DATA()
macro allowing to declare an output data
Definition: DataStatusHdrMacros.h:113
eStripAllocationType
Enumerate describing image strip allocation policy.
Definition: ImageStripTypes.h:88
const HybridBuffer & accessBuffer(const ipUInt64 tPlanIdx) const
access to strip full buffer
#define IPSDK_DECLARE_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:79
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
boost::shared_ptr< BasePlanStorage > PlanStoragePtr
shared pointer to image plan storage
Definition: PlanStorageTypes.h:55
eStripParsingDirection
Enumerate describing strip parsing direction.
Definition: ImageStripTypes.h:72
Output class for sequence image 2d strip with splitting along Y axis.
Definition: OutputImageYStripSeq2d.h:27
Base class for sequence image 2d strip with splitting along Y axis.
Definition: BaseImageYStripSeq2d.h:32
boost::shared_ptr< const DataIdentifier > DataIdentifierConstPtr
shared pointer to const data identifier
Definition: DataIdentifierTypes.h:31
Class allowing to encapsulate an hybrid form of buffer.
Definition: HybridBuffer.h:52
std::vector< PlanStoragePtr > PlanStorageColl1d
Definition: ImageTypes.h:184
Base class for images data type.
Definition: BaseImage.h:43
boost::shared_ptr< BaseImageYStrip2d > ImageYStrip2dPtr
Definition: ImageStripTypes.h:117