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