vtkbone
vtkboneApplyTorsionTest.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 
51 #ifndef __vtkboneApplyTorsionTest_h
52 #define __vtkboneApplyTorsionTest_h
53 
54 #include "vtkboneApplyTestBase.h"
55 #include "vtkboneWin32Header.h"
56 
57 
59 {
60 public:
61  static vtkboneApplyTorsionTest *New();
63  void PrintSelf(ostream& os, vtkIndent indent);
64  void PrintParameters(ostream& os, vtkIndent indent);
65 
67 
69  vtkSetVector2Macro(TwistAxisOrigin, double);
70  vtkGetVector2Macro(TwistAxisOrigin, double);
72 
74 
76  vtkSetMacro(TwistAngle, double);
77  vtkGetMacro(TwistAngle, double);
79 
80 protected:
83 
84  double TwistAxisOrigin[2];
85  double TwistAngle;
86 
87  virtual int RequestData(vtkInformation* request,
88  vtkInformationVector** inputVector,
89  vtkInformationVector* outputVector);
90 
91  virtual int AddTopAndBottomConstraints(vtkboneFiniteElementModel* model);
92  virtual int AddConvergenceSet(vtkboneFiniteElementModel* model);
93  virtual int AddPostProcessingSets(vtkboneFiniteElementModel* model);
94  virtual int AddInformation(vtkboneFiniteElementModel* model);
95 
96 private:
97  vtkboneApplyTorsionTest(const vtkboneApplyTorsionTest&); // Not implemented
98  void operator=(const vtkboneApplyTorsionTest&); // Not implemented
99 };
100 
101 #endif
102 
data model for finite element meshes
Base class for applying a test to create a vtkboneFiniteElementModel.
#define VTKBONE_EXPORT
static vtkboneApplyTestBase * New()
Generates a finite element mesh that corresponds to a torsion test.
void PrintParameters(ostream &os, vtkIndent indent)
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)