00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00040 #ifndef __vtkGraphToPolyData_h
00041 #define __vtkGraphToPolyData_h
00042
00043 #include "vtkPolyDataAlgorithm.h"
00044
00045 class VTK_INFOVIS_EXPORT vtkGraphToPolyData : public vtkPolyDataAlgorithm
00046 {
00047 public:
00048 static vtkGraphToPolyData *New();
00049 vtkTypeRevisionMacro(vtkGraphToPolyData,vtkPolyDataAlgorithm);
00050 void PrintSelf(ostream& os, vtkIndent indent);
00051
00053
00058 vtkSetMacro(EdgeGlyphOutput, bool);
00059 vtkGetMacro(EdgeGlyphOutput, bool);
00060 vtkBooleanMacro(EdgeGlyphOutput, bool);
00062
00064
00068 vtkSetMacro(EdgeGlyphPosition, double);
00069 vtkGetMacro(EdgeGlyphPosition, double);
00071
00072 protected:
00073 vtkGraphToPolyData();
00074 ~vtkGraphToPolyData() {}
00075
00076 bool EdgeGlyphOutput;
00077 double EdgeGlyphPosition;
00078
00080 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00081
00083 int FillInputPortInformation(int port, vtkInformation* info);
00084
00085 private:
00086 vtkGraphToPolyData(const vtkGraphToPolyData&);
00087 void operator=(const vtkGraphToPolyData&);
00088 };
00089
00090 #endif