VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkArrayData.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkArrayData.h
5
6
-------------------------------------------------------------------------
7
Copyright 2008 Sandia Corporation.
8
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9
the U.S. Government retains certain rights in this software.
10
-------------------------------------------------------------------------
11
12
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13
All rights reserved.
14
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15
16
This software is distributed WITHOUT ANY WARRANTY; without even
17
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18
PURPOSE. See the above copyright notice for more information.
19
20
=========================================================================*/
21
42
#ifndef __vtkArrayData_h
43
#define __vtkArrayData_h
44
45
#include "
vtkArray.h
"
46
#include "
vtkDataObject.h
"
47
48
class
vtkArray
;
49
50
class
VTK_FILTERING_EXPORT
vtkArrayData
:
public
vtkDataObject
51
{
52
public
:
53
static
vtkArrayData
*
New
();
54
vtkTypeMacro(
vtkArrayData
,
vtkDataObject
);
55
void
PrintSelf
(ostream &os,
vtkIndent
indent);
56
57
static
vtkArrayData
*
GetData
(
vtkInformation
*
info
);
58
static
vtkArrayData
*
GetData
(
vtkInformationVector
* v,
int
i = 0);
59
61
void
AddArray(
vtkArray
*);
62
64
void
ClearArrays();
65
67
vtkIdType
GetNumberOfArrays();
68
70
vtkArray
* GetArray(
vtkIdType
index
);
71
73
vtkArray
* GetArrayByName(
const
char
*
name
);
74
76
virtual
int
GetDataObjectType
() {
return
VTK_ARRAY_DATA
;}
77
78
virtual
void
ShallowCopy
(
vtkDataObject
* other);
79
virtual
void
DeepCopy
(
vtkDataObject
* other);
80
81
protected
:
82
vtkArrayData
();
83
~
vtkArrayData
();
84
85
private
:
86
vtkArrayData
(
const
vtkArrayData
&);
// Not implemented
87
void
operator=(
const
vtkArrayData
&);
// Not implemented
88
89
//BTX
90
class
implementation;
91
implementation*
const
Implementation;
92
//ETX
93
};
94
95
#endif
96
Generated on Thu Mar 13 2014 08:09:52 for VTK by
1.8.1.2