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
26class vtkDataSet;
28
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
40 virtual void SetOutput(vtkDataObject* d) override;
42
44
47 vtkInformationVector*) override;
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); };
55
57
63
65
71
72protected:
75
76 // convenience method
77 virtual int RequestInformation(vtkInformation* request,
78 vtkInformationVector** inputVector,
79 vtkInformationVector* outputVector) override;
80
82
84 virtual int RequestData(vtkInformation* request,
85 vtkInformationVector** inputVector,
86 vtkInformationVector* outputVector) override;
88
89
91
97
99
103 vtkInformationVector*) override;
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) override;
114 virtual int FillInputPortInformation(int port, vtkInformation* info) override;
115
116private:
118 void operator=(const vtkboneFiniteElementModelAlgorithm&); // Not implemented.
119};
120
121#endif
void operator=(const vtkObjectBase &)
Superclass for algorithms that produce only vtkboneFiniteElementModel as output.
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkboneFiniteElementModel * GetOutput(int)
virtual void SetOutput(vtkDataObject *d) override
void SetInputData(int, vtkDataObject *)
virtual void ExecuteData(vtkDataObject *output)
void SetInputData(vtkDataObject *)
vtkboneFiniteElementModel * GetFiniteElementModelInput(int port)
static vtkboneFiniteElementModelAlgorithm * New()
virtual int FillInputPortInformation(int port, vtkInformation *info) override
vtkboneFiniteElementModel * GetOutput()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void AddInputData(vtkDataObject *)
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(ostream &os, vtkIndent indent) override
vtkDataObject * GetInput(int port)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
virtual int FillOutputPortInformation(int port, vtkInformation *info) override
void AddInputData(int, vtkDataObject *)
data model for finite element meshes