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 =========================================================================*/
32 #ifndef __vtkPointLoad_h
33 #define __vtkPointLoad_h
34 
35 #include "vtkImageAlgorithm.h"
36 
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
45  static vtkPointLoad *New();
46 
48 
49  vtkSetMacro(LoadValue,double);
50  vtkGetMacro(LoadValue,double);
52 
55  void SetSampleDimensions(int i, int j, int k);
56 
58 
60  void SetSampleDimensions(int dim[3]);
61  vtkGetVectorMacro(SampleDimensions,int,3);
63 
65 
67  vtkSetVector6Macro(ModelBounds,double);
68  vtkGetVectorMacro(ModelBounds,double,6);
70 
72 
73  vtkSetMacro(PoissonsRatio,double);
74  vtkGetMacro(PoissonsRatio,double);
76 
78 
81  int GetComputeEffectiveStress() {return 1;};
85 
86 protected:
87  vtkPointLoad();
89 
90  virtual int RequestInformation (vtkInformation *,
93  virtual void ExecuteData(vtkDataObject *);
94 
95  double LoadValue;
96  double PoissonsRatio;
97  int SampleDimensions[3];
98  double ModelBounds[6];
99 
100 private:
101  vtkPointLoad(const vtkPointLoad&); // Not implemented.
102  void operator=(const vtkPointLoad&); // Not implemented.
103 };
104 
105 #endif
106 
107 
virtual void ExecuteData(vtkDataObject *output)
void SetComputeEffectiveStress(int)
Definition: vtkPointLoad.h:80
Store vtkAlgorithm input/output information.
void ComputeEffectiveStressOff()
Definition: vtkPointLoad.h:83
compute stress tensors given point load on semi-infinite domain
Definition: vtkPointLoad.h:37
double LoadValue
Definition: vtkPointLoad.h:95
void ComputeEffectiveStressOn()
Definition: vtkPointLoad.h:82
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_IMAGING_EXPORT
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int GetComputeEffectiveStress()
Definition: vtkPointLoad.h:81
double PoissonsRatio
Definition: vtkPointLoad.h:96
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:70