00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPruneTreeFilter.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 -------------------------------------------------------------------------*/ 00031 #ifndef __vtkPruneTreeFilter_h 00032 #define __vtkPruneTreeFilter_h 00033 00034 #include "vtkTreeAlgorithm.h" 00035 00036 class vtkTree; 00037 class vtkPVXMLElement; 00038 00039 class VTK_INFOVIS_EXPORT vtkPruneTreeFilter : public vtkTreeAlgorithm 00040 { 00041 public: 00042 static vtkPruneTreeFilter* New(); 00043 vtkTypeMacro(vtkPruneTreeFilter,vtkTreeAlgorithm); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 00048 vtkGetMacro(ParentVertex, vtkIdType); 00049 vtkSetMacro(ParentVertex, vtkIdType); 00051 00052 protected: 00053 vtkPruneTreeFilter(); 00054 ~vtkPruneTreeFilter(); 00055 00056 vtkIdType ParentVertex; 00057 00058 int RequestData( 00059 vtkInformation*, 00060 vtkInformationVector**, 00061 vtkInformationVector*); 00062 00063 private: 00064 vtkPruneTreeFilter(const vtkPruneTreeFilter&); // Not implemented 00065 void operator=(const vtkPruneTreeFilter&); // Not implemented 00066 }; 00067 00068 #endif 00069