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
40class VTKBONE_EXPORT vtkboneMaterial : public vtkObject
41{
42 public:
44 vtkTypeMacro(vtkboneMaterial, vtkObject);
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
48
49 vtkSetStringMacro(Name);
50 vtkGetStringMacro(Name);
52
56
61 virtual vtkboneMaterial* ScaledCopy(double factor);
62
63 protected:
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
void operator=(const vtkObjectBase &)
An abstract base class for materials used in finite element models.
static int nameCounter
virtual vtkboneMaterial * Copy()
virtual vtkboneMaterial * ScaledCopy(double factor)
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkboneMaterial * New()