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