22 InvalidArgumentValue = 2,
23 MemoryAllocationError = 3,
24 MemoryDeallocationError = 4,
26 AttemptToDeleteDLLAllocMemory = 6,
99 virtual int GetInputWidth ()
const = 0;
100 virtual int GetInputHeight ()
const = 0;
101 virtual int GetOutputWidth ()
const = 0;
102 virtual int GetOutputHeight ()
const = 0;
202 virtual bool SetInputWidth (
int value) = 0;
203 virtual bool SetInputHeight (
int value) = 0;
204 virtual bool SetOutputWidth (
int value) = 0;
205 virtual bool SetOutputHeight (
int value) = 0;
212 virtual bool SetRawData (
unsigned short* data,
int width,
int height) = 0;
259 virtual bool Resize(
int width,
int height) = 0;
__declspec(dllexport) IWPOCTInOutData *CreateOCTInOutData()
Creates an instance of the in/out data object.
Definition: IWPOCTController.cpp:13
The data object contains pointers to input and output data.
Definition: IWPOCTInOutData.h:14
virtual bool GetColorData(unsigned char *data)=0
Get copy of color array.
virtual bool GetScaledData(unsigned short *data)=0
Get copy of scaled array.
virtual bool SetAllocateRaw(bool value)=0
Sets the flag that determines if the raw data array is allocated by this DLL when the Resize API is c...
virtual int GetRawSize() const =0
Gets the size of the raw input array.
virtual unsigned short * GetTransposedData()=0
Get pointer to transposed array.
virtual bool IsPhaseAllocated() const =0
Returns a flag indicating if the phase array is allocated.
virtual bool Resize(int width, int height)=0
Changes and resizes the data structures in the IWPOCTInOutData object that are allocated by the WPOCT...
virtual bool SetIntensityData(float *data, int width, int height)=0
Sets the intensity data pointer to the value supplied.
virtual bool SetRawData(unsigned short *data, int width, int height)=0
Sets the raw data pointer to the value supplied.
virtual int GetIntensitySize() const =0
Returns the size of the output intensity array.
virtual int GetColorSize() const =0
Returns the size of the color array.
virtual bool SetTransposedData(unsigned short *data)=0
Sets the transposed data pointer to the value supplied.
virtual bool GetRawData(unsigned short *data)=0
Get copy of raw array.
virtual bool IsIntensityAllocated() const =0
Returns a flag indicating if the intensity array is allocated.
virtual bool SetAllocateTransposed(bool value)=0
Sets the flag that determines if the transposed data array is allocated by this DLL when the Resize A...
virtual bool IsColorAllocated() const =0
Returns a flag indicating if the color array is allocated.
virtual int GetTransposedSize() const =0
Returns the size of the transposed array.
virtual bool SetAllocateIntensity(bool value)=0
Sets the flag that determines if the intensity data array is allocated by this DLL when the Resize AP...
virtual bool GetIntensityData(float *data)=0
Get copy of intensity array.
virtual bool SetScaledData(unsigned short *data)=0
Sets the scaled data pointer to the value supplied.
virtual bool SetAllocateScaled(bool value)=0
Sets the flag that determines if the scaled data array is allocated by this DLL when the Resize API i...
virtual bool GetPhaseData(float *data)=0
Get copy of phase array.
virtual float * GetIntensityData()=0
virtual int GetScaledSize() const =0
Returns the size of the scaled array.
virtual unsigned short * GetScaledData()=0
virtual bool SetAllocatePhase(bool value)=0
Sets the flag that determines if the phase data array is allocated by this DLL when the Resize API is...
virtual bool IsRawAllocated() const =0
Returns a flag indicating if the raw array is allocated.
virtual bool IsTransposedAllocated() const =0
Returns a flag indicating if the transposed array is allocated.
virtual bool SetPhaseData(float *data)=0
Sets the phase data pointer to the value supplied.
virtual bool SetColorData(unsigned char *data)=0
Sets the color data pointer to the value supplied.
virtual int GetPhaseSize() const =0
Returns the size of the output phase array.
virtual bool SetAllocateColor(bool value)=0
Sets the flag that determines if the color data array is allocated by this DLL when the Resize API is...
virtual float * GetPhaseData()=0
virtual unsigned short * GetRawData()=0
virtual bool GetTransposedData(unsigned short *data)=0
Get copy of transposed array.
virtual bool IsScaledAllocated() const =0
Returns a flag indicating if the scaled array is allocated.
ErrorCode
The following are error codes that are used within the data object.
Definition: IWPOCTInOutData.h:19
virtual unsigned char * GetColorData()=0
Get pointer to color array.
virtual bool Resize()=0
Changes and resizes the data structures in the IWPOCTInOutData object that are allocated by the WPOCT...