VTK
dox/Filters/Parallel/vtkPYoungsMaterialInterface.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkPYoungsMaterialInterface.h,v $
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 =========================================================================*/
00032 #ifndef __vtkPYoungsMaterialInterface_h
00033 #define __vtkPYoungsMaterialInterface_h
00034 
00035 #include "vtkFiltersParallelModule.h" // For export macro
00036 #include "vtkYoungsMaterialInterface.h"
00037 
00038 class vtkMultiProcessController;
00039 
00040 class VTKFILTERSPARALLEL_EXPORT vtkPYoungsMaterialInterface : public vtkYoungsMaterialInterface
00041 {
00042 public:
00043   static vtkPYoungsMaterialInterface* New();
00044   vtkTypeMacro(vtkPYoungsMaterialInterface,vtkYoungsMaterialInterface);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00048   virtual void Aggregate ( int, int* );
00049 
00051 
00053   virtual void SetController(vtkMultiProcessController*);
00054   vtkGetObjectMacro(Controller, vtkMultiProcessController);
00056 
00057 protected:
00058   vtkPYoungsMaterialInterface ();
00059   virtual ~vtkPYoungsMaterialInterface ();
00060 
00061   vtkMultiProcessController* Controller;
00062 
00063 private:
00064   vtkPYoungsMaterialInterface(const vtkPYoungsMaterialInterface&); // Not implemented
00065   void operator=(const vtkPYoungsMaterialInterface&); // Not implemented
00066 };
00067 
00068 #endif /* VTK_PYOUNGS_MATERIAL_INTERFACE_H */