vtkbone
vtkboneLinearAnisotropicMaterialArray.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 __vtkboneLinearAnisotropicMaterialArray_h
24 #define __vtkboneLinearAnisotropicMaterialArray_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 
52  vtkGetObjectMacro(StressStrainMatrixUpperTriangular, vtkFloatArray);
54 
60  virtual void SetStressStrainMatrixUpperTriangular(vtkFloatArray* K);
61 
63 
66  virtual void SetItem (vtkIdType k,
69 
71 
74  virtual void SetScaledItem (vtkIdType k,
76  double factor);
78 
80 
82  virtual void SetScaledItemUpperTriangular (vtkIdType k,
83  float* ut,
84  double factor);
85  virtual void SetScaledItemUpperTriangular (vtkIdType k,
86  double* ut,
87  double factor);
89 
90  float* GetItemUpperTriangular (vtkIdType k);
91 
94  virtual vtkboneMaterial* Copy();
95 
100  virtual vtkboneMaterial* ScaledCopy(double factor);
101 
102  protected:
105 
107 
108  private:
110  void operator=(const vtkboneLinearAnisotropicMaterialArray&); // Not implemented.
111  };
112 
113 #endif
114 
#define VTKBONE_EXPORT
virtual vtkboneMaterial * ScaledCopy(double factor)
int vtkIdType
static vtkboneMaterialArray * New()
An object representing an array of linear anisotropic materials.
An abstract base class for materials of materials of the same type.
An object representing a linear anisotropic material.
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)