43 #ifndef SVK_MRI_IMAGE_DATA_H
44 #define SVK_MRI_IMAGE_DATA_H
46 #define START_NUM_BINS 256
47 #define MAX_NUM_BINS 1048576
48 #define MIN_USED_BINS 10
49 #define EXCLUDE_FACTOR 0.05
51 #include <vtkObjectFactory.h>
54 #include <vtkImageAccumulate.h>
55 #include <vtkCallbackCommand.h>
56 #include <vtkPolyData.h>
79 static vtkObject* NewObject();
82 double* GetImagePixels(
int slice );
83 vtkDataArray* GetImagePixelsArray(
int slice );
84 double* GetImagePixel(
int id );
85 double* GetImagePixel(
int x,
int y,
int z );
86 void SetImagePixels(
double* pixels,
int slice);
87 void SetImagePixel(
int id,
double value );
88 void SetImagePixel(
int x,
int y,
int z,
double value );
89 virtual void GetNumberOfVoxels(
int numVoxels[3]);
90 void GetAutoWindowLevel(
double& window,
double& level,
int numBins =
START_NUM_BINS
92 virtual int GetVolumeIndexForFrame(
int frame );
93 void GetCenterOfMass(
double centerOfMass[3],
int component = 0 );
95 void SyncPixelDataToCellRepresentation();
96 void SyncCellRepresentationToPixelData();
99 static void UpdatePixelData(vtkObject* subject,
unsigned long eid,
void* thisObject,
void *calldata);
113 vtkCallbackCommand* cellRepresentationModifiedCB;
114 void InitializeCellDataArrays();
121 #endif //SVK_MRI_IMAGE_DATA_H
ActorType
Definition: svkMriImageData.h:107
#define START_NUM_BINS
Definition: svkMriImageData.h:46
Definition: svk4DImageData.h:69
Definition: svkMriImageData.h:72
Definition: svkImageData.h:107
#define EXCLUDE_FACTOR
Definition: svkMriImageData.h:49