vtkDistributedStreamTracer.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00041 #ifndef __vtkDistributedStreamTracer_h
00042 #define __vtkDistributedStreamTracer_h
00043
00044 #include "vtkPStreamTracer.h"
00045
00046 class VTK_PARALLEL_EXPORT vtkDistributedStreamTracer : public vtkPStreamTracer
00047 {
00048 public:
00049 vtkTypeRevisionMacro(vtkDistributedStreamTracer,vtkPStreamTracer);
00050 void PrintSelf(ostream& os, vtkIndent indent);
00051
00052 static vtkDistributedStreamTracer *New();
00053
00054 protected:
00055
00056 vtkDistributedStreamTracer();
00057 ~vtkDistributedStreamTracer();
00058
00059 void ForwardTask(double seed[3],
00060 int direction,
00061 int isNewSeed,
00062 int lastid,
00063 int lastCellId,
00064 int currentLine,
00065 double* firstNormal);
00066 int ProcessTask(double seed[3],
00067 int direction,
00068 int isNewSeed,
00069 int lastid,
00070 int lastCellId,
00071 int currentLine,
00072 double* firstNormal);
00073 int ProcessNextLine(int currentLine);
00074 int ReceiveAndProcessTask();
00075
00076 virtual void ParallelIntegrate();
00077
00078 private:
00079 vtkDistributedStreamTracer(const vtkDistributedStreamTracer&);
00080 void operator=(const vtkDistributedStreamTracer&);
00081 };
00082
00083
00084 #endif
00085
00086