source: branches/blt4/packages/vizservers/vtkvis/RpPolyData.h @ 2542

Last change on this file since 2542 was 2542, checked in by gah, 13 years ago

update from trunk

File size: 908 bytes
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
18namespace Rappture {
19namespace VtkVis {
20
21/**
22 * \brief VTK Mesh (Polygon data)
23 *
24 * This class creates a boundary mesh of a DataSet
25 */
26class PolyData : public VtkGraphicsObject {
27public:
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
38private:
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.