VTK
vtkTreeMapToPolyData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTreeMapToPolyData.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
32 #ifndef __vtkTreeMapToPolyData_h
33 #define __vtkTreeMapToPolyData_h
34 
35 #include "vtkPolyDataAlgorithm.h"
36 
38 {
39 public:
40  static vtkTreeMapToPolyData *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
48  virtual void SetRectanglesArrayName(const char* name)
51 
53 
57  virtual void SetLevelArrayName(const char* name)
60 
62 
63  vtkGetMacro(LevelDeltaZ, double);
64  vtkSetMacro(LevelDeltaZ, double);
66 
68 
69  vtkGetMacro(AddNormals, bool);
70  vtkSetMacro(AddNormals, bool);
72 
74 
75 protected:
78 
79  double LevelDeltaZ;
80  bool AddNormals;
81 
83 private:
84  vtkTreeMapToPolyData(const vtkTreeMapToPolyData&); // Not implemented.
85  void operator=(const vtkTreeMapToPolyData&); // Not implemented.
86 };
87 
88 #endif
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void SetRectanglesArrayName(const char *name)
static vtkPolyDataAlgorithm * New()
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_INFOVIS_EXPORT
virtual void SetLevelArrayName(const char *name)
Store zero or more vtkInformation instances.
converts a tree to a polygonal data representing a tree map