vtkbone
vtkboneLinearOrthotropicMaterialArray.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 __vtkboneLinearOrthotropicMaterialArray_h
24 #define __vtkboneLinearOrthotropicMaterialArray_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 
50  vtkGetObjectMacro(YoungsModulus, vtkFloatArray);
52 
56  virtual void SetYoungsModulus(vtkFloatArray* E);
57 
59 
62  vtkGetObjectMacro(PoissonsRatio, vtkFloatArray);
64 
68  virtual void SetPoissonsRatio (vtkFloatArray* nu);
69 
71 
74  vtkGetObjectMacro(ShearModulus, vtkFloatArray);
76 
80  virtual void SetShearModulus(vtkFloatArray* G);
81 
83 
86  virtual void SetItem (vtkIdType k,
89 
91 
94  virtual void SetScaledItem (vtkIdType k,
96  double factor);
98 
101  virtual vtkboneMaterial* Copy();
102 
107  virtual vtkboneMaterial* ScaledCopy(double factor);
108 
109  protected:
112 
116 
117  private:
119  void operator=(const vtkboneLinearOrthotropicMaterialArray&); // Not implemented.
120  };
121 
122 #endif
123 
An object representing an array of linear orthotropic materials.
#define VTKBONE_EXPORT
virtual vtkboneMaterial * ScaledCopy(double factor)
int vtkIdType
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()
An object representing a linear orthotropic material.
void PrintSelf(ostream &os, vtkIndent indent)