Ignore:
Timestamp:
Jun 7, 2013 2:27:25 PM (11 years ago)
Author:
ldelgass
Message:

Improved cloud support in vtkvis: handle ugrids with no cells as well as
polydata clouds, add cloudstyle options to some graphics objects.

File:
1 edited

Legend:

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

    r3621 r3680  
    1111#include <vtkSmartPointer.h>
    1212#include <vtkLookupTable.h>
    13 #include <vtkDataSetMapper.h>
     13#include <vtkPolyDataMapper.h>
    1414#include <vtkActor.h>
    1515#include <vtkPlaneCollection.h>
     16#include <vtkGaussianSplatter.h>
    1617
    1718#include "ColorMap.h"
     
    2526class PseudoColor : public GraphicsObject {
    2627public:
     28    enum CloudStyle {
     29        CLOUD_MESH,
     30        CLOUD_POINTS,
     31        CLOUD_SPLAT
     32    };
    2733    enum ColorMode {
    2834        COLOR_BY_SCALAR,
     
    4652
    4753    virtual void setClippingPlanes(vtkPlaneCollection *planes);
     54
     55    void setCloudStyle(CloudStyle style);
    4856
    4957    void setInterpolateBeforeMapping(bool state);
     
    8391    Renderer *_renderer;
    8492
     93    CloudStyle _cloudStyle;
    8594    vtkSmartPointer<vtkLookupTable> _lut;
    86     vtkSmartPointer<vtkDataSetMapper> _dsMapper;
     95    vtkSmartPointer<vtkPolyDataMapper> _mapper;
     96    vtkSmartPointer<vtkGaussianSplatter> _splatter;
    8797};
    8898
Note: See TracChangeset for help on using the changeset viewer.