00001 /*========================================================================= 00002 00003 Program: ParaView 00004 Module: $RCSfile: vtkPVContourEntry.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 __vtkPVContourEntry_h 00024 #define __vtkPVContourEntry_h 00025 00026 #include "vtkPVValueList.h" 00027 00028 class vtkPVArrayMenu; 00029 00030 class VTK_EXPORT vtkPVContourEntry : public vtkPVValueList 00031 { 00032 public: 00033 static vtkPVContourEntry* New(); 00034 vtkTypeRevisionMacro(vtkPVContourEntry, vtkPVValueList); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00038 virtual void Accept(); 00039 00041 virtual void Initialize(); 00042 00044 virtual void ResetInternal(); 00045 00047 00049 virtual void SetArrayMenu(vtkPVArrayMenu*); 00050 vtkGetObjectMacro(ArrayMenu, vtkPVArrayMenu); 00052 00059 virtual void UpdateEnableState(); 00060 00062 virtual void SaveInBatchScript(ofstream *file); 00063 00064 protected: 00065 vtkPVContourEntry(); 00066 ~vtkPVContourEntry(); 00067 00068 vtkPVArrayMenu *ArrayMenu; 00069 00070 virtual int ComputeWidgetRange(); 00071 00072 vtkPVContourEntry(const vtkPVContourEntry&); // Not implemented 00073 void operator=(const vtkPVContourEntry&); // Not implemented 00074 00075 //BTX 00076 virtual void CopyProperties(vtkPVWidget* clone, vtkPVSource* pvSource, 00077 vtkArrayMap<vtkPVWidget*, vtkPVWidget*>* map); 00078 //ETX 00079 00080 int ReadXMLAttributes(vtkPVXMLElement* element, 00081 vtkPVXMLPackageParser* parser); 00082 00083 const char* DomainName; 00084 00085 }; 00086 00087 #endif