vtkbone
vtkboneGenerateHomogeneousMaterialTable.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 
33 #ifndef __vtkboneGenerateHomogeneousMaterialTable_h
34 #define __vtkboneGenerateHomogeneousMaterialTable_h
35 
37 #include "vtkboneMaterial.h"
38 #include "vtkboneWin32Header.h"
39 
40 
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
54  vtkSetObjectMacro(Material, vtkboneMaterial);
55  vtkGetObjectMacro(Material, vtkboneMaterial);
57 
59 
60  vtkSetMacro(FirstIndex, int);
61  vtkGetMacro(FirstIndex, int);
63 
65 
66  vtkSetMacro(LastIndex, int);
67  vtkGetMacro(LastIndex, int);
69 
71 
73  vtkSetObjectMacro(MaterialIdList, vtkDataArray);
74  vtkGetObjectMacro(MaterialIdList, vtkDataArray);
76 
77 protected:
80 
81  virtual int RequestData(vtkInformation* request,
82  vtkInformationVector** inputVector,
83  vtkInformationVector* outputVector);
84 
86  int LastIndex;
89 
90 private:
92  void operator=(const vtkboneGenerateHomogeneousMaterialTable&); // Not implemented
93 };
94 
95 #endif
96 
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKBONE_EXPORT
Material
An abstract base class for materials used in finite element models.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkboneMaterialTableAlgorithm * New()
Superclass for algorithms that produce only vtkboneMaterialTable as output.