VTK
vtkAreaLayout.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAreaLayout.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 -------------------------------------------------------------------------*/
37 #ifndef vtkAreaLayout_h
38 #define vtkAreaLayout_h
39 
40 #include "vtkInfovisLayoutModule.h" // For export macro
41 #include "vtkTreeAlgorithm.h"
42 
44 
46 {
47 public:
48  static vtkAreaLayout *New();
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
53 
56  virtual void SetSizeArrayName(const char* name)
59 
61 
65  vtkGetStringMacro(AreaArrayName);
66  vtkSetStringMacro(AreaArrayName);
68 
70 
72  vtkGetMacro(EdgeRoutingPoints, bool);
73  vtkSetMacro(EdgeRoutingPoints, bool);
74  vtkBooleanMacro(EdgeRoutingPoints, bool);
76 
78 
82 
84  virtual unsigned long GetMTime();
85 
88  vtkIdType FindVertex(float pnt[2]);
89 
91  void GetBoundingArea(vtkIdType id, float *sinfo);
92 
93 protected:
96 
101 
103 
104 private:
105 
106  vtkAreaLayout(const vtkAreaLayout&); // Not implemented.
107  void operator=(const vtkAreaLayout&); // Not implemented.
108 };
109 
110 #endif
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkAreaLayout::SetSizeArrayName
virtual void SetSizeArrayName(const char *name)
Definition: vtkAreaLayout.h:56
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTreeAlgorithm.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkAreaLayout::FindVertex
vtkIdType FindVertex(float pnt[2])
vtkAreaLayout::GetBoundingArea
void GetBoundingArea(vtkIdType id, float *sinfo)
vtkAreaLayout::vtkAreaLayout
vtkAreaLayout()
vtkAreaLayout::EdgeRoutingPointsArrayName
char * EdgeRoutingPointsArrayName
Definition: vtkAreaLayout.h:99
vtkAreaLayout::SetLayoutStrategy
void SetLayoutStrategy(vtkAreaLayoutStrategy *strategy)
vtkDataObject::FIELD_ASSOCIATION_VERTICES
@ FIELD_ASSOCIATION_VERTICES
Definition: vtkDataObject.h:234
vtkAreaLayout::~vtkAreaLayout
~vtkAreaLayout()
vtkAreaLayout::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkAreaLayout::LayoutStrategy
vtkAreaLayoutStrategy * LayoutStrategy
Definition: vtkAreaLayout.h:100
vtkgl::name
GLuint const GLchar * name
Definition: vtkgl.h:11983
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkAreaLayout::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkTreeAlgorithm
Superclass for algorithms that produce only Tree as output.
Definition: vtkTreeAlgorithm.h:48
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkAreaLayout::EdgeRoutingPoints
bool EdgeRoutingPoints
Definition: vtkAreaLayout.h:98
VTKINFOVISLAYOUT_EXPORT
#define VTKINFOVISLAYOUT_EXPORT
Definition: vtkInfovisLayoutModule.h:15
vtkInfovisLayoutModule.h
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkAreaLayout::New
static vtkAreaLayout * New()
vtkAreaLayout::GetMTime
virtual unsigned long GetMTime()
vtkAreaLayout::AreaArrayName
char * AreaArrayName
Definition: vtkAreaLayout.h:97
vtkAreaLayout
layout a vtkTree into a tree map
Definition: vtkAreaLayout.h:46
vtkAreaLayoutStrategy
abstract superclass for all area layout strategies
Definition: vtkAreaLayoutStrategy.h:48
vtkAlgorithm::SetInputArrayToProcess
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)