VTK
vtkPointLoad.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPointLoad.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
33 #ifndef vtkPointLoad_h
34 #define vtkPointLoad_h
35 
36 #include "vtkImagingHybridModule.h" // For export macro
37 #include "vtkImageAlgorithm.h"
38 
39 class VTKIMAGINGHYBRID_EXPORT vtkPointLoad : public vtkImageAlgorithm
40 {
41 public:
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
49  static vtkPointLoad *New();
50 
52 
55  vtkSetMacro(LoadValue,double);
56  vtkGetMacro(LoadValue,double);
58 
63  void SetSampleDimensions(int i, int j, int k);
64 
66 
70  void SetSampleDimensions(int dim[3]);
71  vtkGetVectorMacro(SampleDimensions,int,3);
73 
75 
79  vtkSetVector6Macro(ModelBounds,double);
80  vtkGetVectorMacro(ModelBounds,double,6);
82 
84 
87  vtkSetMacro(PoissonsRatio,double);
88  vtkGetMacro(PoissonsRatio,double);
90 
96  int GetComputeEffectiveStress() {return 1;};
99 
100 protected:
103 
108 
109  double LoadValue;
111  int SampleDimensions[3];
112  double ModelBounds[6];
113 
114 private:
115  vtkPointLoad(const vtkPointLoad&) VTK_DELETE_FUNCTION;
116  void operator=(const vtkPointLoad&) VTK_DELETE_FUNCTION;
117 };
118 
119 #endif
120 
121 
vtkPointLoad::ExecuteDataWithInformation
virtual void ExecuteDataWithInformation(vtkDataObject *, vtkInformation *)
This is a convenience method that is implemented in many subclasses instead of RequestData.
vtkPointLoad::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPointLoad::ComputeEffectiveStressOn
void ComputeEffectiveStressOn()
Definition: vtkPointLoad.h:97
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkPointLoad::vtkPointLoad
vtkPointLoad()
vtkPointLoad
compute stress tensors given point load on semi-infinite domain
Definition: vtkPointLoad.h:40
vtkImageAlgorithm.h
vtkPointLoad::SetSampleDimensions
void SetSampleDimensions(int i, int j, int k)
Specify the dimensions of the volume.
vtkPointLoad::PoissonsRatio
double PoissonsRatio
Definition: vtkPointLoad.h:110
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:41
vtkPointLoad::SetComputeEffectiveStress
void SetComputeEffectiveStress(int)
Turn on/off computation of effective stress scalar.
Definition: vtkPointLoad.h:95
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkPointLoad::ComputeEffectiveStressOff
void ComputeEffectiveStressOff()
Definition: vtkPointLoad.h:98
vtkPointLoad::GetComputeEffectiveStress
int GetComputeEffectiveStress()
Definition: vtkPointLoad.h:96
vtkPointLoad::~vtkPointLoad
~vtkPointLoad()
Definition: vtkPointLoad.h:102
vtkPointLoad::SetSampleDimensions
void SetSampleDimensions(int dim[3])
Specify the dimensions of the volume.
vtkPointLoad::LoadValue
double LoadValue
Definition: vtkPointLoad.h:109
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkPointLoad::New
static vtkPointLoad * New()
Construct with ModelBounds=(-1,1,-1,1,-1,1), SampleDimensions=(50,50,50), and LoadValue = 1.
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkPointLoad::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to collect information from their inputs and set information f...