Commit 8b9276d7 authored by Dan Lipsa's avatar Dan Lipsa

Deprecate vtkTemporalStreamTracer and vtkPTemporalStreamTracer.

There were replaced by:

vtkParticleTracerBase, vtkParticleTracer, vtkParticlePathFilter,
and vtkStreaklineFilter
and their parallel versions.

See
https://blog.kitware.com/improvements-in-path-tracing-in-vtk/
parent 8ff9ab66
......@@ -1333,8 +1333,6 @@
<class id="vtkDistributedStreamTracer" library="Parallel">
</class>
</class>
<class id="vtkTemporalStreamTracer" library="Parallel">
</class>
</class>
<class id="vtkStripper" library="Graphics">
</class>
......
......@@ -1466,8 +1466,6 @@
</node>
<node id="vtkDistributedStreamTracer">
</node>
<node id="vtkTemporalStreamTracer">
</node>
<node id="vtkCollectPolyData">
</node>
<node id="vtkCutMaterial">
......
......@@ -1333,8 +1333,6 @@
<class id="vtkDistributedStreamTracer" library="Parallel">
</class>
</class>
<class id="vtkTemporalStreamTracer" library="Parallel">
</class>
</class>
<class id="vtkStripper" library="Graphics">
</class>
......
......@@ -1466,8 +1466,6 @@
</node>
<node id="vtkDistributedStreamTracer">
</node>
<node id="vtkTemporalStreamTracer">
</node>
<node id="vtkCollectPolyData">
</node>
<node id="vtkCutMaterial">
......
......@@ -16,8 +16,10 @@ set(classes
vtkParticleTracerBase
vtkStreaklineFilter
vtkStreamTracer
vtkTemporalInterpolatedVelocityField
vtkTemporalStreamTracer)
vtkTemporalInterpolatedVelocityField)
if (NOT VTK_LEGACY_REMOVE)
list(APPEND classes vtkTemporalStreamTracer)
endif()
vtk_module_add_module(VTK::FiltersFlowPaths
CLASSES ${classes})
......@@ -80,7 +80,8 @@
*
* @sa
* vtkStreamTracer vtkRibbonFilter vtkRuledSurfaceFilter vtkInitialValueProblemSolver
* vtkRungeKutta2 vtkRungeKutta4 vtkRungeKutta45 vtkTemporalStreamTracer
* vtkRungeKutta2 vtkRungeKutta4 vtkRungeKutta45 vtkParticleTracerBase
* vtkParticleTracer vtkParticlePathFilter vtkStreaklineFilter
* vtkAbstractInterpolatedVelocityField vtkInterpolatedVelocityField
* vtkCellLocatorInterpolatedVelocityField
*
......
......@@ -71,7 +71,8 @@
*
* @sa
* vtkRibbonFilter vtkRuledSurfaceFilter vtkInitialValueProblemSolver
* vtkRungeKutta2 vtkRungeKutta4 vtkRungeKutta45 vtkTemporalStreamTracer
* vtkRungeKutta2 vtkRungeKutta4 vtkRungeKutta45 vtkParticleTracerBase
* vtkParticleTracer vtkParticlePathFilter vtkStreaklineFilter
* vtkAbstractInterpolatedVelocityField vtkInterpolatedVelocityField
* vtkCellLocatorInterpolatedVelocityField
*
......
......@@ -18,7 +18,7 @@
* interpolating between times during particle tracing
*
* vtkTemporalInterpolatedVelocityField is a general purpose
* helper for the temporal particle tracing code (vtkTemporalStreamTracer)
* helper for the temporal particle tracing code (vtkParticleTracerBase)
*
* It maintains two copies of vtkCachingInterpolatedVelocityField internally
* and uses them to obtain velocity values at time T0 and T1.
......@@ -41,7 +41,8 @@
*
*
* @sa
* vtkCachingInterpolatedVelocityField vtkTemporalStreamTracer
* vtkCachingInterpolatedVelocityField vtkParticleTracerBase
* vtkParticleTracer vtkParticlePathFilter vtkStreaklineFilter
*/
#ifndef vtkTemporalInterpolatedVelocityField_h
......
......@@ -22,11 +22,18 @@
* @sa
* vtkRibbonFilter vtkRuledSurfaceFilter vtkInitialValueProblemSolver
* vtkRungeKutta2 vtkRungeKutta4 vtkRungeKutta45 vtkStreamTracer
*
* This class is deprecated.
* Use instead one of the following classes: vtkParticleTracerBase
* vtkParticleTracer vtkParticlePathFilter vtkStreaklineFilter
* See https://blog.kitware.com/improvements-in-path-tracing-in-vtk/
*/
#ifndef vtkTemporalStreamTracer_h
#define vtkTemporalStreamTracer_h
#ifndef VTK_LEGACY_REMOVE
#include "vtkFiltersFlowPathsModule.h" // For export macro
#include "vtkSmartPointer.h" // For protected ivars.
#include "vtkStreamTracer.h"
......@@ -474,4 +481,6 @@ private:
void operator=(const vtkTemporalStreamTracer&) = delete;
};
#endif // VTK_LEGACY_REMOVE
#endif
......@@ -22,16 +22,16 @@
* The point number (index) is used as the 'key' if the points are randomly
* changing their respective order in the points list, then you should specify
* a scalar that represents the unique ID. This is intended to handle the output
* of a filter such as the TemporalStreamTracer.
* of a filter such as the vtkParticleTracer.
*
* @sa
* vtkTemporalStreamTracer
* vtkParticleTracer
*
* @par Thanks:
* John Bidiscombe of
* CSCS - Swiss National Supercomputing Centre
* for creating and contributing this class.
*/
*/
#ifndef vtkTemporalPathLineFilter_h
#define vtkTemporalPathLineFilter_h
......
......@@ -4,17 +4,21 @@ set(classes
vtkPParticleTracer
vtkPParticleTracerBase
vtkPStreaklineFilter
vtkPStreamTracer
vtkPTemporalStreamTracer)
vtkPStreamTracer)
# Overrides for object factory.
set(parallel_overrides
LagrangianParticleTracker
StreamTracer
TemporalStreamTracer
ParticleTracer
ParticlePathFilter
StreaklineFilter)
if (NOT VTK_LEGACY_REMOVE)
list(APPEND classes vtkPTemporalStreamTracer)
list(APPEND parallel_overrides TemporalStreamTracer)
endif()
foreach (parallel_override IN LISTS parallel_overrides)
vtk_object_factory_declare(
BASE vtk${parallel_override}
......
......@@ -22,11 +22,18 @@
* @sa
* vtkRibbonFilter vtkRuledSurfaceFilter vtkInitialValueProblemSolver
* vtkRungeKutta2 vtkRungeKutta4 vtkRungeKutta45 vtkStreamTracer
*
* This class is deprecated.
* Use instead one of the following classes: vtkParticleTracerBase
* vtkParticleTracer vtkParticlePathFilter vtkStreaklineFilter
* See https://blog.kitware.com/improvements-in-path-tracing-in-vtk/
*/
#ifndef vtkPTemporalStreamTracer_h
#define vtkPTemporalStreamTracer_h
#ifndef VTK_LEGACY_REMOVE
#include "vtkFiltersParallelFlowPathsModule.h" // For export macro
#include "vtkSmartPointer.h" // For protected ivars.
#include "vtkTemporalStreamTracer.h"
......@@ -129,4 +136,6 @@ private:
void operator=(const vtkPTemporalStreamTracer&) = delete;
};
#endif // VTK_LEGACY_REMOVE
#endif
......@@ -17,7 +17,7 @@
* @brief abstract class to write particle data to file
*
* vtkAbstractParticleWriter is an abstract class which is used by
* vtkTemporalStreamTracer to write particles out during simulations.
* vtkParticleTracerBase to write particles out during simulations.
* This class is abstract and provides a TimeStep and FileName.
* Subclasses of this should provide the necessary IO.
*
......@@ -25,7 +25,7 @@
* See vtkWriter
*
* @sa
* vtkTemporalStreamTracer
* vtkParticleTracerBase
*/
#ifndef vtkAbstractParticleWriter_h
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment