vtkbone
vtkboneMaterial.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 __vtkboneMaterial_h
34 #define __vtkboneMaterial_h
35 
36 #include "vtkObject.h"
37 #include "vtkIdTypeArray.h"
38 #include "vtkboneWin32Header.h"
39 
41  {
42  public:
43  static vtkboneMaterial* New();
44  vtkTypeMacro(vtkboneMaterial, vtkObject);
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
49  vtkSetStringMacro(Name);
50  vtkGetStringMacro(Name);
52 
55  virtual vtkboneMaterial* Copy();
56 
61  virtual vtkboneMaterial* ScaledCopy(double factor);
62 
63  protected:
65  ~vtkboneMaterial();
66 
67  char* Name;
68 
69  static int nameCounter;
70 
71  private:
72  vtkboneMaterial(const vtkboneMaterial&); // Not implemented.
73  void operator=(const vtkboneMaterial&); // Not implemented.
74  };
75 
76 #endif
77 
#define VTKBONE_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
An abstract base class for materials used in finite element models.
static int nameCounter
static vtkObject * New()
void operator=(const vtkObjectBase &)