00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00032 #ifndef __vtkPointLoad_h
00033 #define __vtkPointLoad_h
00034
00035 #include "vtkImageAlgorithm.h"
00036
00037 class VTK_IMAGING_EXPORT vtkPointLoad : public vtkImageAlgorithm
00038 {
00039 public:
00040 vtkTypeRevisionMacro(vtkPointLoad,vtkImageAlgorithm);
00041 void PrintSelf(ostream& os, vtkIndent indent);
00042
00045 static vtkPointLoad *New();
00046
00048
00049 vtkSetMacro(LoadValue,double);
00050 vtkGetMacro(LoadValue,double);
00052
00055 void SetSampleDimensions(int i, int j, int k);
00056
00058
00060 void SetSampleDimensions(int dim[3]);
00061 vtkGetVectorMacro(SampleDimensions,int,3);
00063
00065
00067 vtkSetVector6Macro(ModelBounds,double);
00068 vtkGetVectorMacro(ModelBounds,double,6);
00070
00072
00073 vtkSetMacro(PoissonsRatio,double);
00074 vtkGetMacro(PoissonsRatio,double);
00076
00078
00080 void SetComputeEffectiveStress(int) {};
00081 int GetComputeEffectiveStress() {return 1;};
00082 void ComputeEffectiveStressOn() {};
00083 void ComputeEffectiveStressOff() {};
00085
00086 protected:
00087 vtkPointLoad();
00088 ~vtkPointLoad() {};
00089
00090 virtual int RequestInformation (vtkInformation *,
00091 vtkInformationVector **,
00092 vtkInformationVector *);
00093 virtual void ExecuteData(vtkDataObject *);
00094
00095 double LoadValue;
00096 double PoissonsRatio;
00097 int SampleDimensions[3];
00098 double ModelBounds[6];
00099
00100 private:
00101 vtkPointLoad(const vtkPointLoad&);
00102 void operator=(const vtkPointLoad&);
00103 };
00104
00105 #endif
00106
00107