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/Cutplane.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>
     
    3535class Cutplane : public GraphicsObject {
    3636public:
     37    enum CloudStyle {
     38        CLOUD_MESH,
     39        CLOUD_SPLAT
     40    };
    3741    enum ColorMode {
    3842        COLOR_BY_SCALAR,
     
    6165
    6266    virtual void setClippingPlanes(vtkPlaneCollection *planes);
     67
     68    void setCloudStyle(CloudStyle style);
    6369
    6470    void setOutlineVisibility(bool state);
     
    98104    bool _pipelineInitialized;
    99105
     106    CloudStyle _cloudStyle;
    100107    ColorMap *_colorMap;
    101108    ColorMode _colorMode;
     
    110117    vtkSmartPointer<vtkActor> _actor[3];
    111118    vtkSmartPointer<vtkActor> _borderActor[3];
    112     vtkSmartPointer<vtkDataSetMapper> _mapper[3];
     119    vtkSmartPointer<vtkPolyDataMapper> _mapper[3];
    113120    vtkSmartPointer<vtkPolyDataMapper> _borderMapper[3];
    114121    vtkSmartPointer<vtkCutter> _cutter[3];
Note: See TracChangeset for help on using the changeset viewer.