Back to index

salome-paravis  6.5.0
vtkGenerateStructElement.h
Go to the documentation of this file.
00001 // Copyright (C) 2010-2012  CEA/DEN, EDF R&D
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 #ifndef __vtkGenerateStructElement_h__
00021 #define __vtkGenerateStructElement_h__
00022 
00023 #include "vtkUnstructuredGridAlgorithm.h"
00024 
00025 class vtkMedStructElement;
00026 class vtkGenerateStructElementCache;
00027 
00028 class VTK_EXPORT vtkGenerateStructElement : public vtkUnstructuredGridAlgorithm
00029 {
00030 public:
00031   static vtkGenerateStructElement* New();
00032   vtkTypeRevisionMacro(vtkGenerateStructElement, vtkObject)
00033   void PrintSelf(ostream& os, vtkIndent indent);
00034 
00035 protected :
00036   vtkGenerateStructElement();
00037   virtual ~vtkGenerateStructElement();
00038 
00039   // Description:
00040   // This is called by the superclass.
00041   // This is the method you should override.
00042   virtual int RequestData(vtkInformation* request,
00043                           vtkInformationVector** inputVector,
00044                           vtkInformationVector* outputVector);
00045 
00046   //BTX
00047   virtual double  GetParameter1(const char*,
00048                            vtkIdType,
00049                            vtkGenerateStructElementCache&);
00050   //ETX
00051 
00052 private :
00053   vtkGenerateStructElement(const vtkGenerateStructElement&);// Not implemented.
00054   void operator=(const vtkGenerateStructElement&); // Not implemented.
00055 
00056 };
00057 
00058 #endif //__vtkGenerateStructElement_h__