//-------------------------------------------------------------------
vtkMPRBaseData::vtkMPRBaseData()
{
- _x=0;
- _y=0;
- _z=0;
- _x1 = 0;
- _x2 = 0;
- _y1 = 0;
- _y2 = 0;
- _z1 = 0;
- _z2 = 0;
+ _x = 0;
+ _y = 0;
+ _z = 0;
+ _x1 = 0;
+ _x2 = 0;
+ _y1 = 0;
+ _y2 = 0;
+ _z1 = 0;
+ _z2 = 0;
_transformOrientation = NULL;
- _marImageData = NULL;
+ _marImageData = NULL;
}
//-------------------------------------------------------------------
void vtkMPRBaseData::SetX(double x)
{
//int dim[3];
- int ext[6];
- double* origin;
- vtkImageData* img = _marImageData->GetImageData();
+ int ext[6];
+ double *origin;
+ vtkImageData *img = _marImageData->GetImageData();
if(img!=NULL){
/*img->GetDimensions(dim);
if (x<0)