vtkUnstructuredGridVolumeRayCastIterator.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00042 #ifndef __vtkUnstructuredGridRayCastIterator_h
00043 #define __vtkUnstructuredGridRayCastIterator_h
00044
00045 #include "vtkObject.h"
00046
00047 class vtkIdList;
00048 class vtkDoubleArray;
00049 class vtkDataArray;
00050
00051 class VTK_RENDERING_EXPORT vtkUnstructuredGridVolumeRayCastIterator : public vtkObject
00052 {
00053 public:
00054 vtkTypeRevisionMacro(vtkUnstructuredGridVolumeRayCastIterator, vtkObject);
00055 virtual void PrintSelf(ostream &os, vtkIndent indent);
00056
00059 virtual void Initialize(int x, int y) = 0;
00060
00062
00071 virtual vtkIdType GetNextIntersections(vtkIdList *intersectedCells,
00072 vtkDoubleArray *intersectionLengths,
00073 vtkDataArray *scalars,
00074 vtkDataArray *nearIntersections,
00075 vtkDataArray *farIntersections) = 0;
00077
00079
00081 vtkSetVector2Macro(Bounds, double);
00082 vtkGetVector2Macro(Bounds, double);
00084
00085
00086
00087
00088 vtkSetMacro(MaxNumberOfIntersections, vtkIdType);
00089 vtkGetMacro(MaxNumberOfIntersections, vtkIdType);
00090
00091 protected:
00092 vtkUnstructuredGridVolumeRayCastIterator();
00093 ~vtkUnstructuredGridVolumeRayCastIterator();
00094
00095 double Bounds[2];
00096
00097 vtkIdType MaxNumberOfIntersections;
00098
00099 private:
00100 vtkUnstructuredGridVolumeRayCastIterator(const vtkUnstructuredGridVolumeRayCastIterator&);
00101 void operator=(const vtkUnstructuredGridVolumeRayCastIterator&);
00102 };
00103
00104 #endif //__vtkUnstructuredGridRayCastIterator_h
00105