VTK
vtkAssignCoordinatesLayoutStrategy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAssignCoordinatesLayoutStrategy.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 -------------------------------------------------------------------------*/
27 #ifndef vtkAssignCoordinatesLayoutStrategy_h
28 #define vtkAssignCoordinatesLayoutStrategy_h
29 
30 #include "vtkInfovisLayoutModule.h" // For export macro
31 #include "vtkGraphLayoutStrategy.h"
32 #include "vtkSmartPointer.h" // For SP ivars
33 
35 
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
45  virtual void SetXCoordArrayName(const char* name);
46  virtual const char* GetXCoordArrayName();
48 
50 
51  virtual void SetYCoordArrayName(const char* name);
52  virtual const char* GetYCoordArrayName();
54 
56 
57  virtual void SetZCoordArrayName(const char* name);
58  virtual const char* GetZCoordArrayName();
60 
62  void Layout();
63 
64 protected:
67 
68  //BTX
70  //ETX
71 
72 private:
74  void operator=(const vtkAssignCoordinatesLayoutStrategy&); // Not implemented.
75 };
76 
77 #endif
78 
#define VTKINFOVISLAYOUT_EXPORT
uses array values to set vertex locations
abstract superclass for all graph layout strategies
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkSmartPointer< vtkAssignCoordinates > AssignCoordinates
static vtkObject * New()
Given two(or three) arrays take the values in those arrays and simply assign them to the coordinates ...
virtual void Layout()=0
void PrintSelf(ostream &os, vtkIndent indent)