//EED 29Mars2009
//_pts->SetPoint(0, 0 , 0 , -1000 );
//_pts->SetPoint(1, 0 , 0 , 1000 );
- _pts->SetPoint(0, -1000 , -1000 , -1000 );
- _pts->SetPoint(1, 1000 , 1000 , 1000 );
+
+//EED 2017-03-02
+// _pts->SetPoint(0, -1000 , -1000 , -1000 );
+// _pts->SetPoint(1, 1000 , 1000 , 1000 );
// This is the structure for the spline
_splineCell = vtkCellArray::New();
_bboxMapper = vtkPolyDataMapper::New();
_bboxMapper->ScalarVisibilityOff( );
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
_bboxMapper->SetInput(_pd);
+#else
+ _bboxMapper->SetInputData(_pd);
+#endif
+
+
_bboxMapper->ImmediateModeRenderingOn();
_contourVtkActor->SetMapper(_bboxMapper);
_contourVtkActor->GetProperty()->BackfaceCullingOff();
vtkTextProperty *tprop = _textActor->GetTextProperty();
tprop->SetFontSize(14);
tprop->SetFontFamilyToArial();
- tprop->SetColor(0, 0, 1);
+ tprop->SetColor(1, 1, 0);
// Text 2
vtkTextProperty *tprop2 = _textActor2->GetTextProperty();
tprop2->SetFontSize(14);
tprop2->SetFontFamilyToArial();
- tprop2->SetColor(0, 0, 1);
+ tprop2->SetColor(1, 1, 0);
}