vtkbone
vtkboneLinearIsotropicMaterial.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 
30 #ifndef __vtkboneLinearIsotropicMaterial_h
31 #define __vtkboneLinearIsotropicMaterial_h
32 
33 #include "vtkboneMaterial.h"
34 #include "vtkIdTypeArray.h"
35 #include "vtkboneWin32Header.h"
36 
38  {
39  public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
47  vtkSetMacro(YoungsModulus, double);
48  vtkGetMacro(YoungsModulus, double);
50 
52 
53  vtkSetMacro(PoissonsRatio, double);
54  vtkGetMacro(PoissonsRatio, double);
56 
59  double GetShearModulus();
60 
63  virtual vtkboneMaterial* Copy();
64 
69  virtual vtkboneMaterial* ScaledCopy(double factor);
70 
71  protected:
74 
75  double YoungsModulus;
76  double PoissonsRatio;
77 
78  private:
80  void operator=(const vtkboneLinearIsotropicMaterial&); // Not implemented.
81  };
82 
83 #endif
84 
void PrintSelf(ostream &os, vtkIndent indent)
static vtkboneMaterial * New()
#define VTKBONE_EXPORT
An object representing a linear isotropic material.
virtual vtkboneMaterial * ScaledCopy(double factor)
An abstract base class for materials used in finite element models.
virtual vtkboneMaterial * Copy()