vtkPointLoad.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00045 #ifndef __vtkPointLoad_h
00046 #define __vtkPointLoad_h
00047
00048 #include "vtkImageSource.h"
00049
00050 class VTK_IMAGING_EXPORT vtkPointLoad : public vtkImageSource
00051 {
00052 public:
00053 vtkTypeRevisionMacro(vtkPointLoad,vtkImageSource);
00054 void PrintSelf(ostream& os, vtkIndent indent);
00055
00058 static vtkPointLoad *New();
00059
00061
00062 vtkSetMacro(LoadValue,double);
00063 vtkGetMacro(LoadValue,double);
00065
00068 void SetSampleDimensions(int i, int j, int k);
00069
00071
00073 void SetSampleDimensions(int dim[3]);
00074 vtkGetVectorMacro(SampleDimensions,int,3);
00076
00078
00080 vtkSetVector6Macro(ModelBounds,double);
00081 vtkGetVectorMacro(ModelBounds,double,6);
00083
00085
00086 vtkSetMacro(PoissonsRatio,double);
00087 vtkGetMacro(PoissonsRatio,double);
00089
00091
00093 void SetComputeEffectiveStress(int) {};
00094 int GetComputeEffectiveStress() {return 1;};
00095 void ComputeEffectiveStressOn() {};
00096 void ComputeEffectiveStressOff() {};
00098
00099 protected:
00100 vtkPointLoad();
00101 ~vtkPointLoad() {};
00102
00103 virtual void ExecuteInformation();
00104 virtual void ExecuteData(vtkDataObject *);
00105
00106 double LoadValue;
00107 double PoissonsRatio;
00108 int SampleDimensions[3];
00109 double ModelBounds[6];
00110
00111 private:
00112 vtkPointLoad(const vtkPointLoad&);
00113 void operator=(const vtkPointLoad&);
00114 };
00115
00116 #endif
00117
00118