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 "vtkViewsInfovisModule.h" // For export macro 00040 #include "vtkTreeAreaView.h" 00041 00042 class VTKVIEWSINFOVIS_EXPORT vtkIcicleView : public vtkTreeAreaView 00043 { 00044 public: 00045 static vtkIcicleView *New(); 00046 vtkTypeMacro(vtkIcicleView, vtkTreeAreaView); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00048 00050 00051 virtual void SetTopToBottom(bool value); 00052 virtual bool GetTopToBottom(); 00053 vtkBooleanMacro(TopToBottom, bool); 00055 00057 00058 virtual void SetRootWidth(double width); 00059 virtual double GetRootWidth(); 00061 00063 00064 virtual void SetLayerThickness(double thickness); 00065 virtual double GetLayerThickness(); 00067 00069 00070 virtual void SetUseGradientColoring(bool value); 00071 virtual bool GetUseGradientColoring(); 00072 vtkBooleanMacro(UseGradientColoring, bool); 00074 00075 protected: 00076 vtkIcicleView(); 00077 ~vtkIcicleView(); 00078 00079 private: 00080 vtkIcicleView(const vtkIcicleView&); // Not implemented. 00081 void operator=(const vtkIcicleView&); // Not implemented. 00082 }; 00083 00084 #endif