Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Cory Quammen
VTK
Commits
799a06ed
Commit
799a06ed
authored
Feb 08, 2016
by
David C. Lonie
Browse files
Use specified array to splatter volumes in vtkCheckerboardSplatter.
parent
cd045139
Changes
1
Hide whitespace changes
Inline
Side-by-side
Imaging/Hybrid/vtkCheckerboardSplatter.cxx
View file @
799a06ed
...
...
@@ -601,6 +601,11 @@ vtkCheckerboardSplatter::vtkCheckerboardSplatter()
this
->
MaximumDimension
=
50
;
this
->
ParallelSplatCrossover
=
2
;
// Splat point scalars by default:
this
->
SetInputArrayToProcess
(
0
,
0
,
0
,
vtkDataObject
::
FIELD_ASSOCIATION_POINTS
,
vtkDataSetAttributes
::
SCALARS
);
}
//----------------------------------------------------------------------------
...
...
@@ -696,7 +701,7 @@ int vtkCheckerboardSplatter::RequestData(
}
// Grab relevant attribute data
vtkDataArray
*
inScalars
=
input
->
GetPointData
()
->
GetScalars
(
);
vtkDataArray
*
inScalars
=
this
->
GetInputArrayToProcess
(
0
,
inputVector
);
vtkDataArray
*
inNormals
=
input
->
GetPointData
()
->
GetNormals
();
// Okay actually execute the algorithm. Manage all the crazy template
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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