Ignore:
Timestamp:
Sep 1, 2011, 3:58:42 PM (13 years ago)
Author:
ldelgass
Message:

Use a cutter filter instead of a probe filter to get slices through data sets.
The cutter is much more efficient when resampling large unstructured meshes.
However, this means that the heightmap plot in these cases will have geometry
based on the cells of the dataset being cut rather than a uniform grid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/vtkvis/RpHeightMap.h

    r2423 r2457  
    1212#include <vtkAlgorithmOutput.h>
    1313#include <vtkContourFilter.h>
    14 #include <vtkProbeFilter.h>
    1514#include <vtkLookupTable.h>
    1615#include <vtkDataSetMapper.h>
     
    2221#include <vtkAssembly.h>
    2322#include <vtkPolyData.h>
     23#include <vtkPlane.h>
    2424
    2525#include <vector>
     
    131131    vtkSmartPointer<vtkPolyDataMapper> _contourMapper;
    132132    vtkSmartPointer<vtkGaussianSplatter> _pointSplatter;
    133     vtkSmartPointer<vtkProbeFilter> _probeFilter;
    134133    vtkSmartPointer<vtkExtractVOI> _volumeSlicer;
     134    vtkSmartPointer<vtkPlane> _cutPlane;
    135135    vtkSmartPointer<vtkWarpScalar> _warp;
    136136    vtkSmartPointer<vtkActor> _dsActor;
Note: See TracChangeset for help on using the changeset viewer.