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 "vtkInfovisLayoutModule.h" // For export macro
36 #include "vtkPolyDataAlgorithm.h"
37 
39 {
40 public:
41  static vtkTreeMapToPolyData *New();
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
49  virtual void SetRectanglesArrayName(const char* name)
52 
54 
58  virtual void SetLevelArrayName(const char* name)
61 
63 
64  vtkGetMacro(LevelDeltaZ, double);
65  vtkSetMacro(LevelDeltaZ, double);
67 
69 
70  vtkGetMacro(AddNormals, bool);
71  vtkSetMacro(AddNormals, bool);
73 
75 
76 protected:
79 
80  double LevelDeltaZ;
81  bool AddNormals;
82 
84 private:
85  vtkTreeMapToPolyData(const vtkTreeMapToPolyData&); // Not implemented.
86  void operator=(const vtkTreeMapToPolyData&); // Not implemented.
87 };
88 
89 #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)
#define VTKINFOVISLAYOUT_EXPORT
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:38
virtual void SetLevelArrayName(const char *name)
Store zero or more vtkInformation instances.
converts a tree to a polygonal data representing a tree map