vtkbone
vtkboneLinearIsotropicMaterialArray.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 
23 #ifndef __vtkboneLinearIsotropicMaterialArray_h
24 #define __vtkboneLinearIsotropicMaterialArray_h
25 
27 #include "vtkboneMaterialArray.h"
28 #include "vtkboneWin32Header.h"
29 
30 // Forward declarations
31 class vtkFloatArray;
32 
34  {
35  public:
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41  virtual void Resize(vtkIdType size);
42 
44  virtual vtkIdType GetSize();
45 
47 
49  vtkGetObjectMacro(YoungsModulus, vtkFloatArray);
51 
54  virtual void SetYoungsModulus(vtkFloatArray* E);
55 
57 
58  vtkGetObjectMacro(PoissonsRatio, vtkFloatArray);
60 
62  virtual void SetPoissonsRatio (vtkFloatArray* nu);
63 
65 
68  virtual void SetItem (vtkIdType k,
71 
73 
76  virtual void SetScaledItem (vtkIdType k,
78  double factor);
80 
83  virtual vtkboneMaterial* Copy();
84 
89  virtual vtkboneMaterial* ScaledCopy(double factor);
90 
91  protected:
94 
97 
98  private:
100  void operator=(const vtkboneLinearIsotropicMaterialArray&); // Not implemented.
101  };
102 
103 #endif
104 
#define VTKBONE_EXPORT
An object representing a linear isotropic material.
virtual vtkboneMaterial * ScaledCopy(double factor)
int vtkIdType
An object representing a linear isotropic material.
static vtkboneMaterialArray * New()
An abstract base class for materials of materials of the same type.
virtual vtkIdType GetSize()
size
An abstract base class for materials used in finite element models.
virtual void Resize(vtkIdType size)
virtual vtkboneMaterial * Copy()
void PrintSelf(ostream &os, vtkIndent indent)