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

dox/Infovis/vtkTreeLayoutStrategy.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkTreeLayoutStrategy.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 -------------------------------------------------------------------------*/
00042 #ifndef __vtkTreeLayoutStrategy_h
00043 #define __vtkTreeLayoutStrategy_h
00044 
00045 #include "vtkGraphLayoutStrategy.h"
00046 
00047 class VTK_INFOVIS_EXPORT vtkTreeLayoutStrategy : public vtkGraphLayoutStrategy 
00048 {
00049 public:
00050   static vtkTreeLayoutStrategy *New();
00051 
00052   vtkTypeRevisionMacro(vtkTreeLayoutStrategy, vtkGraphLayoutStrategy);
00053   void PrintSelf(ostream& os, vtkIndent indent);
00054 
00056   void Layout();
00057 
00059 
00062   vtkSetClampMacro(Angle, double, 0, 360);
00063   vtkGetMacro(Angle, double);
00065 
00067 
00070   vtkSetMacro(Radial, bool);
00071   vtkGetMacro(Radial, bool);
00072   vtkBooleanMacro(Radial, bool);
00074 
00076 
00080   vtkSetMacro(LogSpacingValue, double);
00081   vtkGetMacro(LogSpacingValue, double);
00083 
00085 
00088   vtkSetClampMacro(LeafSpacing, double, 0.0, 1.0);
00089   vtkGetMacro(LeafSpacing, double);
00091 
00093 
00094   vtkSetStringMacro(DistanceArrayName);
00095   vtkGetStringMacro(DistanceArrayName);
00097 
00098 protected:
00099   vtkTreeLayoutStrategy();
00100   ~vtkTreeLayoutStrategy();
00101 
00102   double Angle;
00103   bool Radial;
00104   double LogSpacingValue;
00105   double LeafSpacing;
00106   char *DistanceArrayName;
00107 
00108 private:
00109 
00110   vtkTreeLayoutStrategy(const vtkTreeLayoutStrategy&);  // Not implemented.
00111   void operator=(const vtkTreeLayoutStrategy&);  // Not implemented.
00112 };
00113 
00114 #endif
00115 

Generated by  doxygen 1.7.1