source: vtkvis/trunk/Outline.h @ 4608

Last change on this file since 4608 was 3621, checked in by ldelgass, 12 years ago

Some more renaming: remove Vtk from some filenames and rename VtkGraphicsObject?
to GraphicsObject? to avoid confusion with vtk classes.

  • Property svn:eol-style set to native
File size: 859 bytes
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
18namespace VtkVis {
19
20/**
21 * \brief VTK Wire outline of DataSet
22 *
23 * This class creates a wireframe box around the DataSet bounds
24 */
25class Outline : public GraphicsObject {
26public:
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
37private:
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.