VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkTreeRingView.h,v $ 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 00042 #ifndef __vtkTreeRingView_h 00043 #define __vtkTreeRingView_h 00044 00045 #include "vtkTreeAreaView.h" 00046 00047 class VTK_VIEWS_EXPORT vtkTreeRingView : public vtkTreeAreaView 00048 { 00049 public: 00050 static vtkTreeRingView *New(); 00051 vtkTypeRevisionMacro(vtkTreeRingView, vtkTreeAreaView); 00052 void PrintSelf(ostream& os, vtkIndent indent); 00053 00055 void SetRootAngles(double start, double end); 00056 00058 00059 virtual void SetRootAtCenter(bool value); 00060 virtual bool GetRootAtCenter(); 00061 vtkBooleanMacro(RootAtCenter, bool); 00063 00065 00066 virtual void SetLayerThickness(double thickness); 00067 virtual double GetLayerThickness(); 00069 00071 00073 virtual void SetInteriorRadius(double thickness); 00074 virtual double GetInteriorRadius(); 00076 00078 00080 virtual void SetInteriorLogSpacingValue(double thickness); 00081 virtual double GetInteriorLogSpacingValue(); 00083 00084 protected: 00085 vtkTreeRingView(); 00086 ~vtkTreeRingView(); 00087 00088 private: 00089 vtkTreeRingView(const vtkTreeRingView&); // Not implemented. 00090 void operator=(const vtkTreeRingView&); // Not implemented. 00091 }; 00092 00093 #endif