VTK
dox/Views/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 "vtkTreeAreaView.h"
00048 
00049 class VTK_VIEWS_EXPORT vtkTreeRingView : public vtkTreeAreaView
00050 {
00051 public:
00052   static vtkTreeRingView *New();
00053   vtkTypeMacro(vtkTreeRingView, vtkTreeAreaView);
00054   void PrintSelf(ostream& os, vtkIndent indent);
00055 
00057   void SetRootAngles(double start, double end);
00058 
00060 
00061   virtual void SetRootAtCenter(bool value);
00062   virtual bool GetRootAtCenter();
00063   vtkBooleanMacro(RootAtCenter, bool);
00065 
00067 
00068   virtual void SetLayerThickness(double thickness);
00069   virtual double GetLayerThickness();
00071 
00073 
00075   virtual void SetInteriorRadius(double thickness);
00076   virtual double GetInteriorRadius();
00078 
00080 
00082   virtual void SetInteriorLogSpacingValue(double thickness);
00083   virtual double GetInteriorLogSpacingValue();
00085 
00086 protected:
00087   vtkTreeRingView();
00088   ~vtkTreeRingView();
00089 
00090 private:
00091   vtkTreeRingView(const vtkTreeRingView&);  // Not implemented.
00092   void operator=(const vtkTreeRingView&);  // Not implemented.
00093 };
00094 
00095 #endif