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 -------------------------------------------------------------------------*/
33 #ifndef vtkTreeMapToPolyData_h
34 #define vtkTreeMapToPolyData_h
35 
36 #include "vtkInfovisLayoutModule.h" // For export macro
37 #include "vtkPolyDataAlgorithm.h"
38 
39 class VTKINFOVISLAYOUT_EXPORT vtkTreeMapToPolyData : public vtkPolyDataAlgorithm
40 {
41 public:
42  static vtkTreeMapToPolyData *New();
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
51  virtual void SetRectanglesArrayName(const char* name)
53 
61  virtual void SetLevelArrayName(const char* name)
63 
65 
68  vtkGetMacro(LevelDeltaZ, double);
69  vtkSetMacro(LevelDeltaZ, double);
71 
73 
76  vtkGetMacro(AddNormals, bool);
77  vtkSetMacro(AddNormals, bool);
79 
81 
82 protected:
85 
86  double LevelDeltaZ;
87  bool AddNormals;
88 
90 private:
91  vtkTreeMapToPolyData(const vtkTreeMapToPolyData&) VTK_DELETE_FUNCTION;
92  void operator=(const vtkTreeMapToPolyData&) VTK_DELETE_FUNCTION;
93 };
94 
95 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
virtual void SetRectanglesArrayName(const char *name)
The field containing quadruples of the form (min x, max x, min y, max y) representing the bounds of t...
static vtkPolyDataAlgorithm * New()
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)
Set the input data arrays that this algorithm will process.
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void SetLevelArrayName(const char *name)
The field containing the level of each tree node.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
converts a tree to a polygonal data representing a tree map
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.