VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkIcicleView.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 -------------------------------------------------------------------------*/ 00033 #ifndef __vtkIcicleView_h 00034 #define __vtkIcicleView_h 00035 00036 #include "vtkTreeAreaView.h" 00037 00038 class VTK_VIEWS_EXPORT vtkIcicleView : public vtkTreeAreaView 00039 { 00040 public: 00041 static vtkIcicleView *New(); 00042 vtkTypeRevisionMacro(vtkIcicleView, vtkTreeAreaView); 00043 void PrintSelf(ostream& os, vtkIndent indent); 00044 00046 00047 virtual void SetTopToBottom(bool value); 00048 virtual bool GetTopToBottom(); 00049 vtkBooleanMacro(TopToBottom, bool); 00051 00053 00054 virtual void SetRootWidth(double width); 00055 virtual double GetRootWidth(); 00057 00059 00060 virtual void SetLayerThickness(double thickness); 00061 virtual double GetLayerThickness(); 00063 00065 00066 virtual void SetUseGradientColoring(bool value); 00067 virtual bool GetUseGradientColoring(); 00068 vtkBooleanMacro(UseGradientColoring, bool); 00070 00071 protected: 00072 vtkIcicleView(); 00073 ~vtkIcicleView(); 00074 00075 private: 00076 vtkIcicleView(const vtkIcicleView&); // Not implemented. 00077 void operator=(const vtkIcicleView&); // Not implemented. 00078 }; 00079 00080 #endif