00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00034 #ifndef __vtkTreeRingToPolyData_h
00035 #define __vtkTreeRingToPolyData_h
00036
00037 #include "vtkPolyDataAlgorithm.h"
00038
00039 class VTK_INFOVIS_EXPORT vtkTreeRingToPolyData : public vtkPolyDataAlgorithm
00040 {
00041 public:
00042 static vtkTreeRingToPolyData *New();
00043
00044 vtkTypeMacro(vtkTreeRingToPolyData,vtkPolyDataAlgorithm);
00045 void PrintSelf(ostream& os, vtkIndent indent);
00046
00048
00052 virtual void SetSectorsArrayName(const char* name)
00053 { this->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_VERTICES, name); }
00055
00057
00058 vtkSetMacro(ShrinkPercentage, double);
00059 vtkGetMacro(ShrinkPercentage, double);
00061
00062 int FillInputPortInformation(int port, vtkInformation* info);
00063
00064 protected:
00065 vtkTreeRingToPolyData();
00066 ~vtkTreeRingToPolyData();
00067
00068 double ShrinkPercentage;
00069
00070 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00071 private:
00072 vtkTreeRingToPolyData(const vtkTreeRingToPolyData&);
00073 void operator=(const vtkTreeRingToPolyData&);
00074 };
00075
00076 #endif