VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
dox
Filters
FlowPaths
vtkParticlePathFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkParticlePathFilter.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
28
#ifndef vtkParticlePathFilter_h
29
#define vtkParticlePathFilter_h
30
31
#include "
vtkFiltersFlowPathsModule.h
"
// For export macro
32
#include "
vtkSmartPointer.h
"
// For protected ivars.
33
#include "
vtkParticleTracerBase.h
"
34
#include <vector>
// For protected ivars
35
36
class
VTKFILTERSFLOWPATHS_EXPORT
ParticlePathFilterInternal
37
{
38
public
:
39
ParticlePathFilterInternal
():Filter(NULL){}
40
void
Initialize(
vtkParticleTracerBase
* filter);
41
virtual
~ParticlePathFilterInternal
(){}
42
virtual
int
OutputParticles(
vtkPolyData
* poly);
43
void
Finalize();
44
void
Reset();
45
46
private
:
47
vtkParticleTracerBase
* Filter;
48
std::vector<vtkSmartPointer<vtkIdList> > Paths;
49
};
50
51
class
VTKFILTERSFLOWPATHS_EXPORT
vtkParticlePathFilter
:
public
vtkParticleTracerBase
52
{
53
public
:
54
vtkTypeMacro(
vtkParticlePathFilter
,
vtkParticleTracerBase
)
55
void PrintSelf(ostream& os,
vtkIndent
indent);
56
57
static
vtkParticlePathFilter
*New();
58
59
protected:
60
vtkParticlePathFilter
();
61
~vtkParticlePathFilter();
62
vtkParticlePathFilter(const vtkParticlePathFilter&);
// Not implemented.
63
void
operator=(const vtkParticlePathFilter&);
// Not implemented.
64
65
virtual
void
ResetCache();
66
virtual
int
OutputParticles(
vtkPolyData
* poly);
67
virtual
void
InitializeExtraPointDataArrays(
vtkPointData
* outputPD);
68
virtual
void
AppendToExtraPointDataArrays(
vtkParticleTracerBaseNamespace
::ParticleInformation &);
69
70
void
Finalize();
71
72
ParticlePathFilterInternal
It;
73
74
private:
75
vtkDoubleArray
* SimulationTime;
76
vtkIntArray
* SimulationTimeStep;
77
};
78
79
80
#endif
VTKFILTERSFLOWPATHS_EXPORT
#define VTKFILTERSFLOWPATHS_EXPORT
Definition:
vtkFiltersFlowPathsModule.h:15
vtkParticleTracerBaseNamespace
Definition:
vtkParticleTracerBase.h:58
ParticlePathFilterInternal::ParticlePathFilterInternal
ParticlePathFilterInternal()
Definition:
vtkParticlePathFilter.h:39
vtkPointData
represent and manipulate point attribute data
Definition:
vtkPointData.h:36
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition:
vtkPolyData.h:83
vtkDoubleArray
dynamic, self-adjusting array of double
Definition:
vtkDoubleArray.h:45
ParticlePathFilterInternal::~ParticlePathFilterInternal
virtual ~ParticlePathFilterInternal()
Definition:
vtkParticlePathFilter.h:41
vtkIntArray
dynamic, self-adjusting array of int
Definition:
vtkIntArray.h:49
vtkParticleTracerBase.h
ParticlePathFilterInternal
Definition:
vtkParticlePathFilter.h:36
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkFiltersFlowPathsModule.h
vtkParticlePathFilter
A Parallel Particle tracer for unsteady vector fields.
Definition:
vtkParticlePathFilter.h:51
vtkSmartPointer.h
vtkParticleTracerBase
A particle tracer for vector fields.
Definition:
vtkParticleTracerBase.h:97
Generated by
1.8.9.1