Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
1c277e28
Commit
1c277e28
authored
Apr 06, 2004
by
Berk Geveci
Browse files
BUG: Was not passing field data
parent
4792497d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Graphics/vtkMaskFields.cxx
View file @
1c277e28
...
...
@@ -20,7 +20,7 @@
#include
"vtkObjectFactory.h"
#include
"vtkPointData.h"
vtkCxxRevisionMacro
(
vtkMaskFields
,
"1.
6
"
);
vtkCxxRevisionMacro
(
vtkMaskFields
,
"1.
7
"
);
vtkStandardNewMacro
(
vtkMaskFields
);
char
vtkMaskFields
::
FieldLocationNames
[
3
][
12
]
...
...
@@ -457,8 +457,11 @@ void vtkMaskFields::Execute()
}
}
// Pass all. (data object's field data is passed by the
// superclass after this method)
// Pass all.
if
(
output
->
GetFieldData
()
&&
input
->
GetFieldData
()
)
{
output
->
GetFieldData
()
->
PassData
(
input
->
GetFieldData
()
);
}
output
->
GetPointData
()
->
PassData
(
input
->
GetPointData
()
);
output
->
GetCellData
()
->
PassData
(
input
->
GetCellData
()
);
...
...
Graphics/vtkRearrangeFields.cxx
View file @
1c277e28
...
...
@@ -22,7 +22,7 @@
#include
"vtkObjectFactory.h"
#include
"vtkPointData.h"
vtkCxxRevisionMacro
(
vtkRearrangeFields
,
"1.1
2
"
);
vtkCxxRevisionMacro
(
vtkRearrangeFields
,
"1.1
3
"
);
vtkStandardNewMacro
(
vtkRearrangeFields
);
typedef
vtkRearrangeFields
::
Operation
Operation
;
...
...
@@ -81,8 +81,11 @@ void vtkRearrangeFields::Execute()
while
(
cur
);
}
// Pass all. (data object's field data is passed by the
// superclass after this method)
// Pass all.
if
(
output
->
GetFieldData
()
&&
input
->
GetFieldData
()
)
{
output
->
GetFieldData
()
->
PassData
(
input
->
GetFieldData
()
);
}
output
->
GetPointData
()
->
PassData
(
input
->
GetPointData
()
);
output
->
GetCellData
()
->
PassData
(
input
->
GetCellData
()
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment