VTK
dox
Infovis
Layout
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
-------------------------------------------------------------------------*/
28
#ifndef vtkAssignCoordinatesLayoutStrategy_h
29
#define vtkAssignCoordinatesLayoutStrategy_h
30
31
#include "vtkInfovisLayoutModule.h"
// For export macro
32
#include "
vtkGraphLayoutStrategy.h
"
33
#include "
vtkSmartPointer.h
"
// For SP ivars
34
35
class
vtkAssignCoordinates
;
36
37
class
VTKINFOVISLAYOUT_EXPORT
vtkAssignCoordinatesLayoutStrategy
:
public
vtkGraphLayoutStrategy
38
{
39
public
:
40
static
vtkAssignCoordinatesLayoutStrategy
*
New
();
41
vtkTypeMacro(
vtkAssignCoordinatesLayoutStrategy
,
vtkGraphLayoutStrategy
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
45
48
virtual
void
SetXCoordArrayName(
const
char
*
name
);
49
virtual
const
char
* GetXCoordArrayName();
51
53
56
virtual
void
SetYCoordArrayName(
const
char
*
name
);
57
virtual
const
char
* GetYCoordArrayName();
59
61
64
virtual
void
SetZCoordArrayName(
const
char
*
name
);
65
virtual
const
char
* GetZCoordArrayName();
67
71
void
Layout
()
override
;
72
73
protected
:
74
vtkAssignCoordinatesLayoutStrategy
();
75
~
vtkAssignCoordinatesLayoutStrategy
()
override
;
76
77
vtkSmartPointer<vtkAssignCoordinates>
AssignCoordinates
;
78
79
private
:
80
vtkAssignCoordinatesLayoutStrategy
(
const
vtkAssignCoordinatesLayoutStrategy
&) =
delete
;
81
void
operator=(
const
vtkAssignCoordinatesLayoutStrategy
&) =
delete
;
82
};
83
84
#endif
85
vtkAssignCoordinatesLayoutStrategy::AssignCoordinates
vtkSmartPointer< vtkAssignCoordinates > AssignCoordinates
Definition:
vtkAssignCoordinatesLayoutStrategy.h:77
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkGraphLayoutStrategy
abstract superclass for all graph layout strategies
Definition:
vtkGraphLayoutStrategy.h:45
vtkSmartPointer< vtkAssignCoordinates >
vtkGraphLayoutStrategy::Layout
virtual void Layout()=0
This is the layout method where the graph that was set in SetGraph() is laid out.
vtkAssignCoordinates
Given two(or three) arrays take the values in those arrays and simply assign them to the coordinates ...
Definition:
vtkAssignCoordinates.h:43
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkSmartPointer.h
vtkGraphLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGraphLayoutStrategy.h
vtkX3D::name
Definition:
vtkX3D.h:219
vtkAssignCoordinatesLayoutStrategy
uses array values to set vertex locations
Definition:
vtkAssignCoordinatesLayoutStrategy.h:37
Generated by
1.8.16