]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.cxx
#3472 TDx
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / vtkBaseData.cxx
index 3cf6b7e2b7a849b7814ca33f9577599e733f4c21..3fdede1c3321314b05106ab65e8687c7c9ee42a4 100644 (file)
 //-------------------------------------------------------------------
 vtkBaseData::vtkBaseData()
 {
-       _z              = 0;
-       _t              = 0;
-       _marImageData   = 0;
-       _interpolate    = true;
-       _fixAxis2D              = false;
-       _opacityAxis    = 1.0;
-       _observable     = vtkObject::New();
+       _z                              = 0;
+       _t                              = 0;
+       _marImageData                   = 0;
+       _interpolate                    = true;
+       _fixAxis2D                              = false;
+       _opacityAxis                    = 1.0;
+       _observable                     = vtkObject::New();
+       _cameraparallelScale    = 100.0;
 }
 
 //-------------------------------------------------------------------
@@ -150,6 +151,18 @@ int vtkBaseData::GetT()
        return _t;
 }
 
+//-------------------------------------------------------------------
+double vtkBaseData::GetX()  // virtual
+{
+       return 0;
+}
+//-------------------------------------------------------------------
+double vtkBaseData::GetY()  // virtual
+{
+       return 0;
+}
+
+
 //-------------------------------------------------------------------
 void vtkBaseData::SetT(double t)
 {
@@ -232,3 +245,18 @@ void vtkBaseData::SetOpacityAxis(double value)
 {
        _opacityAxis = value;
 }
+
+//-------------------------------------------------------------------
+double vtkBaseData::GetCameraParallelScale()
+{
+       return _cameraparallelScale;
+}
+
+//-------------------------------------------------------------------
+void vtkBaseData::SetCameraParallelScale(double value)
+{
+       _cameraparallelScale=value;
+}
+
+
+