- Timestamp:
- Dec 14, 2012, 12:33:35 PM (12 years ago)
- Location:
- branches/Rappture 1.2/packages/vizservers/vtkvis
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Rappture 1.2/packages/vizservers/vtkvis/RpContour2D.cpp
r3189 r3203 9 9 10 10 #include <vtkVersion.h> 11 #if (VTK_MAJOR_VERSION >= 6)12 #define USE_VTK613 #endif14 11 #include <vtkDataSet.h> 15 12 #include <vtkPointData.h> -
branches/Rappture 1.2/packages/vizservers/vtkvis/RpContour3D.cpp
r3189 r3203 9 9 10 10 #include <vtkVersion.h> 11 #if (VTK_MAJOR_VERSION >= 6)12 #define USE_VTK613 #endif14 11 #include <vtkDataSet.h> 15 12 #include <vtkPointData.h> -
branches/Rappture 1.2/packages/vizservers/vtkvis/RpVtkRendererGraphicsObjs.cpp
r3189 r3203 10 10 11 11 #include <vtkVersion.h> 12 #if (VTK_MAJOR_VERSION >= 6)13 #define USE_VTK614 #endif15 12 #include <vtkSmartPointer.h> 16 13 #include <vtkDataSet.h> -
branches/Rappture 1.2/packages/vizservers/vtkvis/vtkRpAxisActor.cpp
r3143 r3203 14 14 =========================================================================*/ 15 15 #include "vtkRpAxisActor.h" 16 17 16 #include "vtkCamera.h" 18 17 #include "vtkCellArray.h" … … 91 90 this->TitleVector = vtkVectorText::New(); 92 91 this->TitleMapper = vtkPolyDataMapper::New(); 92 #ifdef USE_VTK6 93 this->TitleMapper->SetInputData(this->TitleVector->GetOutput()); 94 #else 93 95 this->TitleMapper->SetInput(this->TitleVector->GetOutput()); 96 #endif 94 97 this->TitleActor = vtkFollower::New(); 95 98 this->TitleActor->SetMapper(this->TitleMapper); … … 103 106 this->Axis = vtkPolyData::New(); 104 107 this->AxisMapper = vtkPolyDataMapper::New(); 108 #ifdef USE_VTK6 109 this->AxisMapper->SetInputData(this->Axis); 110 #else 105 111 this->AxisMapper->SetInput(this->Axis); 112 #endif 106 113 this->AxisActor = vtkActor::New(); 107 114 this->AxisActor->SetMapper(this->AxisMapper); … … 860 867 this->LabelVectors[i] = vtkVectorText::New(); 861 868 this->LabelMappers[i] = vtkPolyDataMapper::New(); 869 #ifdef USE_VTK6 870 this->LabelMappers[i]->SetInputData(this->LabelVectors[i]->GetOutput()); 871 #else 862 872 this->LabelMappers[i]->SetInput(this->LabelVectors[i]->GetOutput()); 873 #endif 863 874 this->LabelActors[i] = vtkFollower::New(); 864 875 this->LabelActors[i]->SetMapper(this->LabelMappers[i]); -
branches/Rappture 1.2/packages/vizservers/vtkvis/vtkRpAxisActor2D.cpp
r3143 r3203 94 94 this->Axis = vtkPolyData::New(); 95 95 this->AxisMapper = vtkPolyDataMapper2D::New(); 96 #ifdef USE_VTK6 97 this->AxisMapper->SetInputData(this->Axis); 98 #else 96 99 this->AxisMapper->SetInput(this->Axis); 100 #endif 97 101 this->AxisActor = vtkActor2D::New(); 98 102 this->AxisActor->SetMapper(this->AxisMapper); -
branches/Rappture 1.2/packages/vizservers/vtkvis/vtkRpCubeAxesActor2D.cpp
r2864 r3203 693 693 if ( this->Input ) 694 694 { 695 #ifndef USE_VTK6 695 696 this->Input->Update(); 697 #endif 696 698 this->Input->GetBounds(bounds); 697 699 for (i=0; i< 6; i++)
Note: See TracChangeset
for help on using the changeset viewer.