Changeset 3680 for trunk/packages/vizservers/vtkvis/HeightMap.h
- Timestamp:
- Jun 7, 2013, 2:27:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/vtkvis/HeightMap.h
r3621 r3680 13 13 #include <vtkContourFilter.h> 14 14 #include <vtkLookupTable.h> 15 #include <vtk DataSetMapper.h>15 #include <vtkPolyDataMapper.h> 16 16 #include <vtkActor.h> 17 17 #include <vtkPlaneCollection.h> … … 21 21 #include <vtkPolyDataNormals.h> 22 22 #include <vtkAssembly.h> 23 #include <vtk PolyData.h>23 #include <vtkDataSet.h> 24 24 #include <vtkPlane.h> 25 25 … … 37 37 class HeightMap : public GraphicsObject { 38 38 public: 39 enum CloudStyle { 40 CLOUD_MESH, 41 CLOUD_SPLAT 42 }; 39 43 enum ColorMode { 40 44 COLOR_BY_SCALAR, … … 73 77 74 78 virtual void setAspect(double aspect); 79 80 void setCloudStyle(CloudStyle style); 75 81 76 82 void selectVolumeSlice(Axis axis, double ratio); … … 134 140 135 141 vtkAlgorithmOutput *initWarp(vtkAlgorithmOutput *input); 136 vtkAlgorithmOutput *initWarp(vtk PolyData*input);142 vtkAlgorithmOutput *initWarp(vtkDataSet *input); 137 143 138 144 int _numContours; … … 147 153 bool _pipelineInitialized; 148 154 155 CloudStyle _cloudStyle; 149 156 ColorMap *_colorMap; 150 157 ColorMode _colorMode; … … 157 164 158 165 vtkSmartPointer<vtkLookupTable> _lut; 159 vtkSmartPointer<vtk DataSetMapper> _dsMapper;166 vtkSmartPointer<vtkPolyDataMapper> _mapper; 160 167 vtkSmartPointer<vtkContourFilter> _contourFilter; 161 168 vtkSmartPointer<vtkPolyDataMapper> _contourMapper; 162 vtkSmartPointer<vtkGaussianSplatter> _ pointSplatter;169 vtkSmartPointer<vtkGaussianSplatter> _splatter; 163 170 vtkSmartPointer<vtkExtractVOI> _volumeSlicer; 164 171 vtkSmartPointer<vtkPlane> _cutPlane;
Note: See TracChangeset
for help on using the changeset viewer.