Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Fausty
VTK
Commits
24e46416
Commit
24e46416
authored
1 year ago
by
Charly Bollinger
Browse files
Options
Downloads
Patches
Plain Diff
vtkSpatioTemporalHarmonicsSource: Distributed support
Support for distributed image data using sub extent
parent
17d77892
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Filters/Sources/vtkSpatioTemporalHarmonicsSource.cxx
+2
-1
2 additions, 1 deletion
Filters/Sources/vtkSpatioTemporalHarmonicsSource.cxx
with
2 additions
and
1 deletion
Filters/Sources/vtkSpatioTemporalHarmonicsSource.cxx
+
2
−
1
View file @
24e46416
...
...
@@ -145,6 +145,7 @@ int vtkSpatioTemporalHarmonicsSource::RequestInformation(vtkInformation* vtkNotU
outInfo
->
Set
(
vtkDataObject
::
SPACING
(),
1.0
,
1.0
,
1.0
);
outInfo
->
Set
(
vtkDataObject
::
ORIGIN
(),
0.0
,
0.0
,
0.0
);
outInfo
->
Set
(
vtkStreamingDemandDrivenPipeline
::
WHOLE_EXTENT
(),
this
->
WholeExtent
,
6
);
outInfo
->
Set
(
CAN_PRODUCE_SUB_EXTENT
(),
1
);
if
(
this
->
Internals
->
TimeStepValues
.
empty
())
{
...
...
@@ -176,7 +177,7 @@ int vtkSpatioTemporalHarmonicsSource::RequestData(vtkInformation* vtkNotUsed(req
double
timeValue
=
outInfo
->
Get
(
vtkStreamingDemandDrivenPipeline
::
UPDATE_TIME_STEP
());
vtkImageData
*
output
=
vtkImageData
::
GetData
(
outInfo
);
output
->
SetExtent
(
outInfo
->
Get
(
vtkStreamingDemandDrivenPipeline
::
WHOL
E_EXTENT
()));
output
->
SetExtent
(
outInfo
->
Get
(
vtkStreamingDemandDrivenPipeline
::
UPDAT
E_EXTENT
()));
this
->
Internals
->
HarmonicsFilter
->
SetInputData
(
output
);
this
->
Internals
->
HarmonicsFilter
->
UpdateTimeStep
(
timeValue
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment