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
Christian Butz
VTK
Commits
ffe99867
Commit
ffe99867
authored
Sep 27, 2006
by
Berk Geveci
Browse files
BUG: Streamtracer should use a composite data pipeline since it works with composite data
parent
f3d6a5ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Graphics/vtkStreamTracer.cxx
View file @
ffe99867
...
...
@@ -40,7 +40,7 @@ PURPOSE. See the above copyright notice for more information.
#include
"vtkRungeKutta45.h"
#include
"vtkSmartPointer.h"
vtkCxxRevisionMacro
(
vtkStreamTracer
,
"1.4
4
"
);
vtkCxxRevisionMacro
(
vtkStreamTracer
,
"1.4
5
"
);
vtkStandardNewMacro
(
vtkStreamTracer
);
vtkCxxSetObjectMacro
(
vtkStreamTracer
,
Integrator
,
vtkInitialValueProblemSolver
);
vtkCxxSetObjectMacro
(
vtkStreamTracer
,
InterpolatorPrototype
,
vtkInterpolatedVelocityField
);
...
...
@@ -1415,3 +1415,9 @@ void vtkStreamTracer::PrintSelf(ostream& os, vtkIndent indent)
<<
(
this
->
ComputeVorticity
?
" On"
:
" Off"
)
<<
endl
;
os
<<
indent
<<
"Rotation scale: "
<<
this
->
RotationScale
<<
endl
;
}
vtkExecutive
*
vtkStreamTracer
::
CreateDefaultExecutive
()
{
return
vtkCompositeDataPipeline
::
New
();
}
Graphics/vtkStreamTracer.h
View file @
ffe99867
...
...
@@ -70,6 +70,7 @@
class
vtkCompositeDataSet
;
class
vtkDataArray
;
class
vtkDoubleArray
;
class
vtkExecutive
;
class
vtkGenericCell
;
class
vtkIdList
;
class
vtkIntArray
;
...
...
@@ -292,6 +293,9 @@ protected:
vtkStreamTracer
();
~
vtkStreamTracer
();
// Create a default executive.
virtual
vtkExecutive
*
CreateDefaultExecutive
();
// hide the superclass' AddInput() from the user and the compiler
void
AddInput
(
vtkDataObject
*
)
{
vtkErrorMacro
(
<<
"AddInput() must be called with a vtkDataSet not a vtkDataObject."
);
};
...
...
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