• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Infovis/vtkGraphToPolyData.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkGraphToPolyData.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 /*-------------------------------------------------------------------------
00016   Copyright 2008 Sandia Corporation.
00017   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00018   the U.S. Government retains certain rights in this software.
00019 -------------------------------------------------------------------------*/
00037 #ifndef __vtkGraphToPolyData_h
00038 #define __vtkGraphToPolyData_h
00039 
00040 #include "vtkPolyDataAlgorithm.h"
00041 
00042 class VTK_INFOVIS_EXPORT vtkGraphToPolyData : public vtkPolyDataAlgorithm 
00043 {
00044 public:
00045   static vtkGraphToPolyData *New();
00046   vtkTypeRevisionMacro(vtkGraphToPolyData,vtkPolyDataAlgorithm);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048   
00050 
00055   vtkSetMacro(EdgeGlyphOutput, bool);
00056   vtkGetMacro(EdgeGlyphOutput, bool);
00057   vtkBooleanMacro(EdgeGlyphOutput, bool);
00059 
00061 
00065   vtkSetMacro(EdgeGlyphPosition, double);
00066   vtkGetMacro(EdgeGlyphPosition, double);
00068   
00069 protected:
00070   vtkGraphToPolyData();
00071   ~vtkGraphToPolyData() {}
00072   
00073   bool EdgeGlyphOutput;
00074   double EdgeGlyphPosition;
00075   bool ArcEdges;
00076   vtkIdType NumberOfArcSubdivisions;
00077 
00079   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00080   
00082   int FillInputPortInformation(int port, vtkInformation* info);
00083 
00084 private:
00085   vtkGraphToPolyData(const vtkGraphToPolyData&);  // Not implemented.
00086   void operator=(const vtkGraphToPolyData&);  // Not implemented.
00087 };
00088 
00089 #endif

Generated by  doxygen 1.7.1