vtkbone
vtkboneMaterialTableAlgorithm.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 __vtkboneMaterialTableAlgorithm_h
20#define __vtkboneMaterialTableAlgorithm_h
21
22#include "vtkAlgorithm.h"
23#include "vtkboneWin32Header.h"
24
25// Forward declarations
26class vtkDataSet;
28
29class VTKBONE_EXPORT vtkboneMaterialTableAlgorithm : public vtkAlgorithm
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
40 virtual void SetOutput(vtkDataObject* d);
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);
80
82
84 virtual int RequestData(vtkInformation* request,
85 vtkInformationVector** inputVector,
86 vtkInformationVector* outputVector);
88
90
96
98
104
106
107 virtual void ExecuteData(vtkDataObject *output);
108 virtual void Execute();
110
111 // see algorithm for more info
112 virtual int FillOutputPortInformation(int port, vtkInformation* info) override;
113 virtual int FillInputPortInformation(int port, vtkInformation* info) override;
114
115private:
117 void operator=(const vtkboneMaterialTableAlgorithm&); // Not implemented.
118};
119
120#endif
void operator=(const vtkObjectBase &)
Superclass for algorithms that produce only vtkboneMaterialTable as output.
void SetInputData(int, vtkDataObject *)
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
virtual void SetOutput(vtkDataObject *d)
void SetInputData(vtkDataObject *)
static vtkboneMaterialTableAlgorithm * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent) override
vtkDataObject * GetInput(int port)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void AddInputData(int, vtkDataObject *)
virtual void ExecuteData(vtkDataObject *output)
vtkboneMaterialTable * GetMaterialTableInput(int port)
vtkboneMaterialTable * GetOutput()
void AddInputData(vtkDataObject *)
virtual int FillOutputPortInformation(int port, vtkInformation *info) override
virtual int FillInputPortInformation(int port, vtkInformation *info) override
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkboneMaterialTable * GetOutput(int)
Material Table finite element mesh.