source: trunk/packages/vizservers/vtkvis/RpPolyData.h @ 2973

Last change on this file since 2973 was 2423, checked in by ldelgass, 13 years ago

Handle 2D datasets with offset from origin or in principal planes other than XY.
Add return value for many methods, e.g. creating graphics objects
Add query for server's current list of datasets
Add pixel/world coordinate query of vector fields
Add pixel coordinate support for setting image camera zoom region
Add Heightmap wireframe, surface visibility toggles
Add Point size setting for polydata
Use custom version of 2D axes, fixes tick/label direction in XZ view
Put contour isolines through stripper to remove gaps in line rasterization

  • Property svn:eol-style set to native
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.