vtkbone
vtkboneApplyBendingTest.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 
55 #ifndef __vtkboneApplyBendingTest_h
56 #define __vtkboneApplyBendingTest_h
57 
58 #include "vtkboneApplyTestBase.h"
59 #include "vtkboneWin32Header.h"
60 
61 
63 {
64 public:
65  static vtkboneApplyBendingTest *New();
67  void PrintSelf(ostream& os, vtkIndent indent);
68  void PrintParameters(ostream& os, vtkIndent indent);
69 
71 
73  vtkSetVector2Macro(NeutralAxisOrigin, double);
74  vtkGetVector2Macro(NeutralAxisOrigin, double);
76 
78 
80  vtkSetMacro(NeutralAxisAngle, double);
81  vtkGetMacro(NeutralAxisAngle, double);
83 
85 
88  vtkSetMacro(BendingAngle, double);
89  vtkGetMacro(BendingAngle, double);
91 
92 protected:
95 
96  double NeutralAxisOrigin[2];
98  double BendingAngle;
99 
100  virtual int RequestData(vtkInformation* request,
101  vtkInformationVector** inputVector,
102  vtkInformationVector* outputVector);
103 
104  virtual int AddTopAndBottomConstraints(vtkboneFiniteElementModel* model);
105  virtual int AddConvergenceSet(vtkboneFiniteElementModel* model);
106  virtual int AddPostProcessingSets(vtkboneFiniteElementModel* model);
107  virtual int AddInformation(vtkboneFiniteElementModel* model);
108 
109 private:
110  vtkboneApplyBendingTest(const vtkboneApplyBendingTest&); // Not implemented
111  void operator=(const vtkboneApplyBendingTest&); // Not implemented
112 };
113 
114 #endif
115 
data model for finite element meshes
Base class for applying a test to create a vtkboneFiniteElementModel.
#define VTKBONE_EXPORT
static vtkboneApplyTestBase * New()
void PrintParameters(ostream &os, vtkIndent indent)
void PrintSelf(ostream &os, vtkIndent indent)
Generates a finite element mesh that corresponds to a bending test.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)