VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkIcicleView.h 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 -------------------------------------------------------------------------*/ 00036 #ifndef __vtkIcicleView_h 00037 #define __vtkIcicleView_h 00038 00039 #include "vtkTreeAreaView.h" 00040 00041 class VTK_VIEWS_EXPORT vtkIcicleView : public vtkTreeAreaView 00042 { 00043 public: 00044 static vtkIcicleView *New(); 00045 vtkTypeMacro(vtkIcicleView, vtkTreeAreaView); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00049 00050 virtual void SetTopToBottom(bool value); 00051 virtual bool GetTopToBottom(); 00052 vtkBooleanMacro(TopToBottom, bool); 00054 00056 00057 virtual void SetRootWidth(double width); 00058 virtual double GetRootWidth(); 00060 00062 00063 virtual void SetLayerThickness(double thickness); 00064 virtual double GetLayerThickness(); 00066 00068 00069 virtual void SetUseGradientColoring(bool value); 00070 virtual bool GetUseGradientColoring(); 00071 vtkBooleanMacro(UseGradientColoring, bool); 00073 00074 protected: 00075 vtkIcicleView(); 00076 ~vtkIcicleView(); 00077 00078 private: 00079 vtkIcicleView(const vtkIcicleView&); // Not implemented. 00080 void operator=(const vtkIcicleView&); // Not implemented. 00081 }; 00082 00083 #endif