Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | /* |
---|
3 | * Copyright (C) 2011, Purdue Research Foundation |
---|
4 | * |
---|
5 | * Author: Leif Delgass <ldelgass@purdue.edu> |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef __RAPPTURE_VTKVIS_POLYDATA_H__ |
---|
9 | #define __RAPPTURE_VTKVIS_POLYDATA_H__ |
---|
10 | |
---|
11 | #include <vtkSmartPointer.h> |
---|
12 | #include <vtkPolyDataMapper.h> |
---|
13 | #include <vtkActor.h> |
---|
14 | |
---|
15 | #include "RpVtkGraphicsObject.h" |
---|
16 | #include "RpVtkDataSet.h" |
---|
17 | |
---|
18 | namespace Rappture { |
---|
19 | namespace VtkVis { |
---|
20 | |
---|
21 | /** |
---|
22 | * \brief VTK Mesh (Polygon data) |
---|
23 | * |
---|
24 | * This class creates a boundary mesh of a DataSet |
---|
25 | */ |
---|
26 | class PolyData : public VtkGraphicsObject { |
---|
27 | public: |
---|
28 | PolyData(); |
---|
29 | virtual ~PolyData(); |
---|
30 | |
---|
31 | virtual const char *getClassName() const |
---|
32 | { |
---|
33 | return "PolyData"; |
---|
34 | } |
---|
35 | |
---|
36 | virtual void setClippingPlanes(vtkPlaneCollection *planes); |
---|
37 | |
---|
38 | private: |
---|
39 | virtual void initProp(); |
---|
40 | virtual void update(); |
---|
41 | |
---|
42 | vtkSmartPointer<vtkPolyDataMapper> _pdMapper; |
---|
43 | }; |
---|
44 | |
---|
45 | } |
---|
46 | } |
---|
47 | |
---|
48 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.