source: trunk/packages/vizservers/vtkvis/PolyData.h @ 3621

Last change on this file since 3621 was 3621, checked in by ldelgass, 11 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: 848 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright (C) 2004-2012  HUBzero Foundation, LLC
4 *
5 * Author: Leif Delgass <ldelgass@purdue.edu>
6 */
7
8#ifndef VTKVIS_POLYDATA_H
9#define VTKVIS_POLYDATA_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 Mesh (Polygon data)
22 *
23 * This class creates a boundary mesh of a DataSet
24 */
25class PolyData : public GraphicsObject {
26public:
27    PolyData();
28    virtual ~PolyData();
29
30    virtual const char *getClassName() const
31    {
32        return "PolyData";
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.