16 #ifndef __mitkThreadedToFRawDataReconstruction_h
17 #define __mitkThreadedToFRawDataReconstruction_h
21 #include <MitkPMDExports.h>
24 #include <itkBarrier.h>
25 #include <itkFastMutexLock.h>
28 #include "vtkShortArray.h"
50 itkFactorylessNewMacro(Self)
53 itkGetMacro(Init,
bool);
55 void SetChannelData(vtkShortArray* sourceData);
57 void Initialize(
int width,
int height,
int modulationFrequency,
int sourceDataSize );
59 void GetDistances(
float* dist);
60 void GetAmplitudes(
float* ampl);
61 void GetIntensities(
float* inten);
62 void GetAllData(
float* dist,
float* ampl,
float* inten);
80 virtual void GenerateData();
86 virtual void BeforeThreadedGenerateData();
91 static ITK_THREAD_RETURN_TYPE ThreadedGenerateDataCallbackFunction(
void* data);
96 void ResizeOutputImage(
float*
in,
float* out);
120 #endif // __mitkThreadedToFRawDataReconstruction_h
itk::FastMutexLock::Pointer m_ImageDataMutex
mutex for coordinated access to image data
itk::SmartPointer< Self > Pointer
float * m_CISDist
holds the distance information from for one distance image slice
float * m_ThreadedCISDist
static void Update(vtkPolyData *)
DataCollection - Class to facilitate loading/accessing structured data.
float * m_CISAmpl
holds the amplitude information from for one amplitude image slice
std::vector< float * > m_OutputData
float * m_ThreadedCISInten
ThreadDataStruct * m_ThreadData
itk::Barrier::Pointer m_Barrier
barrier to synchronize ends of threads
#define mitkClassMacroItkParent(className, SuperClassName)
unsigned int m_FrameHeight
vtkShortArray * m_SourceData
unsigned int m_ModulationFrequency
static bool in(Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4)
std::vector< std::vector< short > > m_InputData
float * m_ThreadedCISAmpl
float * m_CISInten
holds the intensity information from for one intensity image slice
itk::MultiThreader::Pointer m_Threader
itk::FastMutexLock::Pointer m_ThreadDataMutex
mutex to control access to images