VTK
dox/Views/Infovis/vtkTreeRingView.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkTreeRingView.h
00005 
00006   -------------------------------------------------------------------------
00007   Copyright 2008 Sandia Corporation.
00008   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00009   the U.S. Government retains certain rights in this software.
00010   -------------------------------------------------------------------------
00011 
00012   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00013   All rights reserved.
00014   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00015 
00016   This software is distributed WITHOUT ANY WARRANTY; without even
00017   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00018   PURPOSE.  See the above copyright notice for more information.
00019 
00020 =========================================================================*/
00021 
00044 #ifndef __vtkTreeRingView_h
00045 #define __vtkTreeRingView_h
00046 
00047 #include "vtkViewsInfovisModule.h" // For export macro
00048 #include "vtkTreeAreaView.h"
00049 
00050 class VTKVIEWSINFOVIS_EXPORT vtkTreeRingView : public vtkTreeAreaView
00051 {
00052 public:
00053   static vtkTreeRingView *New();
00054   vtkTypeMacro(vtkTreeRingView, vtkTreeAreaView);
00055   void PrintSelf(ostream& os, vtkIndent indent);
00056 
00058   void SetRootAngles(double start, double end);
00059 
00061 
00062   virtual void SetRootAtCenter(bool value);
00063   virtual bool GetRootAtCenter();
00064   vtkBooleanMacro(RootAtCenter, bool);
00066 
00068 
00069   virtual void SetLayerThickness(double thickness);
00070   virtual double GetLayerThickness();
00072 
00074 
00076   virtual void SetInteriorRadius(double thickness);
00077   virtual double GetInteriorRadius();
00079 
00081 
00083   virtual void SetInteriorLogSpacingValue(double thickness);
00084   virtual double GetInteriorLogSpacingValue();
00086 
00087 protected:
00088   vtkTreeRingView();
00089   ~vtkTreeRingView();
00090 
00091 private:
00092   vtkTreeRingView(const vtkTreeRingView&);  // Not implemented.
00093   void operator=(const vtkTreeRingView&);  // Not implemented.
00094 };
00095 
00096 #endif