vtkbone
vtkboneFiniteElementModelAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Copyright 2010-2016, Numerics88 Solutions Ltd.
4  http://www.numerics88.com/
5 
6  Copyright (c) Eric Nodwell and Steven K. Boyd
7  See Copyright.txt for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 =========================================================================*/
13 
19 #ifndef __vtkboneFiniteElementModelAlgorithm_h
20 #define __vtkboneFiniteElementModelAlgorithm_h
21 
23 #include "vtkboneWin32Header.h"
24 
25 // Forward declarations
26 class vtkDataSet;
28 
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
37 
40  virtual void SetOutput(vtkDataObject* d);
42 
44 
45  virtual int ProcessRequest(vtkInformation*,
49 
50  // this method is not recommended for use, but lots of old style filters
51  // use it
53  vtkDataObject *GetInput() { return this->GetInput(0); };
54  vtkboneFiniteElementModel *GetFiniteElementModelInput(int port);
55 
57 
61  void SetInputData(int, vtkDataObject*);
63 
65 
69  void AddInputData(int, vtkDataObject*);
71 
72 protected:
75 
76  // convenience method
77  virtual int RequestInformation(vtkInformation* request,
78  vtkInformationVector** inputVector,
79  vtkInformationVector* outputVector);
80 
82 
84  virtual int RequestData(vtkInformation* request,
85  vtkInformationVector** inputVector,
86  vtkInformationVector* outputVector);
88 
89 
91 
93  virtual int RequestDataObject(vtkInformation*,
97 
99 
101  virtual int RequestUpdateExtent(vtkInformation*,
105 
107 
108  virtual void ExecuteData(vtkDataObject *output);
109  virtual void Execute();
111 
112  // see algorithm for more info
113  virtual int FillOutputPortInformation(int port, vtkInformation* info);
114  virtual int FillInputPortInformation(int port, vtkInformation* info);
115 
116 private:
118  void operator=(const vtkboneFiniteElementModelAlgorithm&); // Not implemented.
119 };
120 
121 #endif
data model for finite element meshes
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKBONE_EXPORT
static vtkUnstructuredGridAlgorithm * New()
info
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Superclass for algorithms that produce only vtkboneFiniteElementModel as output.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
void SetInputData(vtkDataObject *)
vtkDataObject * GetInput()
void AddInputData(vtkDataObject *)
virtual void SetOutput(vtkDataObject *d)
port
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkUnstructuredGrid * GetOutput()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void operator=(const vtkObjectBase &)