00001 /*========================================================================= 00002 00003 Program: ParaView 00004 Module: $RCSfile: vtkPVInputGroupRequirement.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 =========================================================================*/ 00022 #ifndef __vtkPVInputGroupRequirement_h 00023 #define __vtkPVInputGroupRequirement_h 00024 00025 00026 class vtkDataSet; 00027 class vtkPVDataSetAttributesInformation; 00028 00029 #include "vtkPVInputRequirement.h" 00030 00031 class VTK_EXPORT vtkPVInputGroupRequirement : public vtkPVInputRequirement 00032 { 00033 public: 00034 static vtkPVInputGroupRequirement* New(); 00035 vtkTypeRevisionMacro(vtkPVInputGroupRequirement, vtkPVInputRequirement); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00039 virtual int GetIsValidInput(vtkPVSource *input, vtkPVSource *pvs); 00040 00041 00043 00045 virtual int ReadXMLAttributes(vtkPVXMLElement* element, 00046 vtkPVXMLPackageParser* parser); 00048 00050 00052 vtkGetMacro(Quantity,int); 00054 00055 protected: 00056 vtkPVInputGroupRequirement(); 00057 ~vtkPVInputGroupRequirement() {}; 00058 00059 int Quantity; 00060 00061 vtkPVInputGroupRequirement(const vtkPVInputGroupRequirement&); // Not implemented 00062 void operator=(const vtkPVInputGroupRequirement&); // Not implemented 00063 }; 00064 00065 #endif