00001 /*========================================================================= 00002 00003 Program: ParaView 00004 Module: $RCSfile: vtkPVCutEntry.h,v $ 00005 00006 Copyright (c) Kitware, Inc. 00007 All rights reserved. 00008 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/ 00023 #ifndef __vtkPVCutEntry_h 00024 #define __vtkPVCutEntry_h 00025 00026 #include "vtkPVContourEntry.h" 00027 00028 class vtkPVInputMenu; 00029 00030 class VTK_EXPORT vtkPVCutEntry : public vtkPVContourEntry 00031 { 00032 public: 00033 static vtkPVCutEntry* New(); 00034 vtkTypeRevisionMacro(vtkPVCutEntry, vtkPVContourEntry); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00038 00039 virtual void SetInputMenu(vtkPVInputMenu*); 00040 vtkGetObjectMacro(InputMenu, vtkPVInputMenu); 00042 00049 virtual void UpdateEnableState(); 00050 00051 protected: 00052 vtkPVCutEntry(); 00053 ~vtkPVCutEntry(); 00054 00055 vtkPVCutEntry(const vtkPVCutEntry&); // Not implemented 00056 void operator=(const vtkPVCutEntry&); // Not implemented 00057 00058 //BTX 00059 virtual void CopyProperties(vtkPVWidget* clone, vtkPVSource* pvSource, 00060 vtkArrayMap<vtkPVWidget*, vtkPVWidget*>* map); 00061 //ETX 00062 00063 int ReadXMLAttributes(vtkPVXMLElement* element, 00064 vtkPVXMLPackageParser* parser); 00065 00066 vtkPVInputMenu *InputMenu; 00067 00068 }; 00069 00070 #endif