VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkInformationQuadratureSchemeDefinitionVectorKey.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkInformationQuadratureSchemeDefinitionVectorKey.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
=========================================================================*/
24
#ifndef __vtkInformationQuadratureSchemeDefinitionVectorKey_h
25
#define __vtkInformationQuadratureSchemeDefinitionVectorKey_h
26
27
#include "
vtkInformationKey.h
"
28
#include "
vtkCommonInformationKeyManager.h
"
// Manage instances of this type.
29
30
class
vtkInformationQuadratureSchemeDefinitionVectorValue;
31
class
vtkXMLDataElement
;
32
class
vtkQuadratureSchemeDefinition
;
33
34
class
VTK_COMMON_EXPORT
vtkInformationQuadratureSchemeDefinitionVectorKey
:
public
vtkInformationKey
35
{
36
public
:
37
vtkTypeMacro(
vtkInformationQuadratureSchemeDefinitionVectorKey
,
vtkInformationKey
);
38
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
42
vtkInformationQuadratureSchemeDefinitionVectorKey
(
43
const
char
*
name
,
44
const
char
*
location
);
45
//
46
~
vtkInformationQuadratureSchemeDefinitionVectorKey
();
48
50
void
Clear(
vtkInformation
*
info
);
53
void
Resize(
vtkInformation
*
info
,
int
n);
55
56
int
Size(
vtkInformation
*
info
);
57
int
Length
(
vtkInformation
*
info
){
return
this->Size(info); }
59
60
void
Append(
vtkInformation
*
info
,
vtkQuadratureSchemeDefinition
*
value
);
62
void
Set(
vtkInformation
*
info
,
vtkQuadratureSchemeDefinition
*
value
,
int
i);
64
67
void
SetRange(
vtkInformation
*
info
,
68
vtkQuadratureSchemeDefinition
**
source
,
69
int
from,
70
int
to,
71
int
n);
73
75
78
void
GetRange(
vtkInformation
*
info
,
79
vtkQuadratureSchemeDefinition
**dest,
80
int
from,
81
int
to,
82
int
n);
84
87
vtkQuadratureSchemeDefinition
*Get(
vtkInformation
*
info
,
int
idx);
88
89
// _escription:
90
// Get a pointer to the first vtkQuadratureSchemeDefinition in the vector. We are
91
// uysing a vector of smart pointers so this is not easy to
92
// implement.
93
// vtkQuadratureSchemeDefinition **Get(vtkInformation* info);
94
96
99
virtual
void
ShallowCopy
(
vtkInformation
* from,
vtkInformation
* to);
100
virtual
void
DeepCopy
(
vtkInformation
* from,
vtkInformation
* to);
102
104
virtual
void
Print
(ostream& os,
vtkInformation
*
info
);
105
106
// note: I had wanted to make the following interface in vtkInformationKey
107
// with a defualt implementation that did nothing. but we decided that
108
// vtkInformationKey class is too important a class to add such an interface
109
// without a thorough design review. we don't have budget for such a review.
110
114
int
SaveState(
vtkInformation
*
info
,
vtkXMLDataElement
*element);
117
int
RestoreState(
vtkInformation
*
info
,
vtkXMLDataElement
*element);
118
119
private
:
122
void
CreateQuadratureSchemeDefinition();
125
vtkInformationQuadratureSchemeDefinitionVectorValue *GetQuadratureSchemeDefinitionVector(
vtkInformation
*
info
);
126
127
//
128
vtkInformationQuadratureSchemeDefinitionVectorKey
(
const
vtkInformationQuadratureSchemeDefinitionVectorKey
&);
// Not implemented.
129
void
operator=(
const
vtkInformationQuadratureSchemeDefinitionVectorKey
&);
// Not implemented.
130
};
131
132
#endif
Generated on Tue Jan 8 2013 05:45:23 for VTK by
1.8.1.2