IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
OutputImageYStrip2d.h
1 // OutputImageYStrip2d.h:
3 // ----------------------
4 //
14 
15 #ifndef __IPSDKIMAGE_OUTPUTIMAGEYSTRIP2D_H__
16 #define __IPSDKIMAGE_OUTPUTIMAGEYSTRIP2D_H__
17 
18 #include <IPSDKImage/Fragment/Strip/YStrip2d/BaseImageYStrip2d.h>
19 
20 namespace ipsdk {
21 namespace image {
22 
25 
27 {
28  // declare serial class
30 
31  // declare output 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  // Input storage type associated to strip
43  typedef PlanStoragePtr InputStorageType;
44 
45 public:
51 
52 // methods
53 public:
54  //-----------------------------------
57  //-----------------------------------
58 
67  BoolResult writeToImage();
69 
73  HybridBuffer& getBuffer();
74 
75 protected:
79  void init(const ipUInt64 zPlanIdx,
80  const ipUInt64 cPlanIdx,
81  const ipUInt64 tPlanIdx,
82  const ipUInt64 stripStartOffsetY,
83  const ipUInt64 stripSizeY,
84  const eStripAllocationType& stripAllocationType,
85  const eStripParsingDirection& stripParsingDirection,
86  const PlanStoragePtr& pPlanStorage,
87  const DataIdentifierConstPtr& pImageIdentifier,
88  const DataItemMapConstPtr& pImageHeader);
89 
90 // attributes
91 protected:
92 
93 };
94 
97 
98 inline HybridBuffer&
100 {
101  return accessBuffer();
102 }
103 
106 
107 } // end of namespace image
108 } // end of namespace ipsdk
109 
110 #endif // __IPSDKIMAGE_OUTPUTIMAGEYSTRIP2D_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
const HybridBuffer & accessBuffer() const
access to strip full buffer
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
#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
boost::shared_ptr< const DataIdentifier > DataIdentifierConstPtr
shared pointer to const data identifier
Definition: DataIdentifierTypes.h:31
Output class for image 2d strip with splitting along Y axis.
Definition: OutputImageYStrip2d.h:26
Class allowing to encapsulate an hybrid form of buffer.
Definition: HybridBuffer.h:52
Base class for image 2d strip with splitting along Y axis.
Definition: BaseImageYStrip2d.h:37
Base class for images data type.
Definition: BaseImage.h:43
HybridBuffer & getBuffer()
retrieve strip full buffer
Definition: OutputImageYStrip2d.h:99