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 "vtkImagingHybridModule.h" // For export macro
36 #include "vtkImageAlgorithm.h"
37 
39 {
40 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
46  static vtkPointLoad *New();
47 
49 
50  vtkSetMacro(LoadValue,double);
51  vtkGetMacro(LoadValue,double);
53 
56  void SetSampleDimensions(int i, int j, int k);
57 
59 
61  void SetSampleDimensions(int dim[3]);
62  vtkGetVectorMacro(SampleDimensions,int,3);
64 
66 
68  vtkSetVector6Macro(ModelBounds,double);
69  vtkGetVectorMacro(ModelBounds,double,6);
71 
73 
74  vtkSetMacro(PoissonsRatio,double);
75  vtkGetMacro(PoissonsRatio,double);
77 
79 
82  int GetComputeEffectiveStress() {return 1;};
86 
87 protected:
88  vtkPointLoad();
90 
91  virtual int RequestInformation (vtkInformation *,
95 
96  double LoadValue;
97  double PoissonsRatio;
98  int SampleDimensions[3];
99  double ModelBounds[6];
100 
101 private:
102  vtkPointLoad(const vtkPointLoad&); // Not implemented.
103  void operator=(const vtkPointLoad&); // Not implemented.
104 };
105 
106 #endif
107 
108 
void SetComputeEffectiveStress(int)
Definition: vtkPointLoad.h:81
Store vtkAlgorithm input/output information.
void ComputeEffectiveStressOff()
Definition: vtkPointLoad.h:84
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
compute stress tensors given point load on semi-infinite domain
Definition: vtkPointLoad.h:38
double LoadValue
Definition: vtkPointLoad.h:96
void ComputeEffectiveStressOn()
Definition: vtkPointLoad.h:83
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int GetComputeEffectiveStress()
Definition: vtkPointLoad.h:82
double PoissonsRatio
Definition: vtkPointLoad.h:97
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
#define VTKIMAGINGHYBRID_EXPORT
general representation of visualization data
Definition: vtkDataObject.h:64