VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPParticlePathFilter.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00025 #ifndef vtkPParticlePathFilter_h 00026 #define vtkPParticlePathFilter_h 00027 00028 00029 #include "vtkPParticleTracerBase.h" 00030 #include "vtkParticlePathFilter.h" //for utility 00031 00032 #include "vtkFiltersParallelFlowPathsModule.h" // For export macro 00033 class VTKFILTERSPARALLELFLOWPATHS_EXPORT vtkPParticlePathFilter: public vtkPParticleTracerBase 00034 { 00035 public: 00036 vtkTypeMacro(vtkPParticlePathFilter,vtkPParticleTracerBase) 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00039 static vtkPParticlePathFilter *New(); 00040 00041 protected: 00042 vtkPParticlePathFilter(); 00043 ~vtkPParticlePathFilter(); 00044 00045 virtual void ResetCache(); 00046 virtual int OutputParticles(vtkPolyData* poly); 00047 virtual void InitializeExtraPointDataArrays(vtkPointData* outputPD); 00048 virtual void AppendToExtraPointDataArrays(vtkParticleTracerBaseNamespace::ParticleInformation &); 00049 void Finalize(); 00050 00051 ParticlePathFilterInternal It; 00052 private: 00053 vtkPParticlePathFilter(const vtkPParticlePathFilter&); // Not implemented. 00054 void operator=(const vtkPParticlePathFilter&); // Not implemented 00055 00056 vtkDoubleArray* SimulationTime; 00057 vtkIntArray* SimulationTimeStep; 00058 }; 00059 00060 00061 #endif