dox/Graphics/vtkSpatialRepresentationFilter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00062 #ifndef __vtkSpatialRepresentationFilter_h
00063 #define __vtkSpatialRepresentationFilter_h
00064
00065 #include "vtkPolyDataSource.h"
00066
00067 #define VTK_MAX_SPATIAL_REP_LEVEL 24
00068
00069 class vtkLocator;
00070 class vtkDataSet;
00071
00072 class VTK_GRAPHICS_EXPORT vtkSpatialRepresentationFilter : public vtkPolyDataSource
00073 {
00074 public:
00075 static vtkSpatialRepresentationFilter *New();
00076 vtkTypeRevisionMacro(vtkSpatialRepresentationFilter,vtkPolyDataSource);
00077 void PrintSelf(ostream& os, vtkIndent indent);
00078
00080
00081 virtual void SetSpatialRepresentation(vtkLocator*);
00082 vtkGetObjectMacro(SpatialRepresentation,vtkLocator);
00084
00086
00087 vtkGetMacro(Level,int);
00089
00092 vtkPolyData *GetOutput(int level);
00093
00095 vtkPolyData *GetOutput();
00096
00098 void ResetOutput();
00099
00101
00102 virtual void SetInput(vtkDataSet *input);
00103 vtkDataSet *GetInput();
00105
00106 protected:
00107 vtkSpatialRepresentationFilter();
00108 ~vtkSpatialRepresentationFilter();
00109
00110 void Execute();
00111 void GenerateOutput();
00112
00113 int Level;
00114 int TerminalNodesRequested;
00115
00116 vtkLocator *SpatialRepresentation;
00117 private:
00118 vtkSpatialRepresentationFilter(const vtkSpatialRepresentationFilter&);
00119 void operator=(const vtkSpatialRepresentationFilter&);
00120 };
00121
00122 #endif
00123
00124