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:
90 
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 
vtkPointLoad::ExecuteDataWithInformation
virtual void ExecuteDataWithInformation(vtkDataObject *, vtkInformation *)
vtkPointLoad::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkPointLoad::ComputeEffectiveStressOn
void ComputeEffectiveStressOn()
Definition: vtkPointLoad.h:83
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPointLoad::vtkPointLoad
vtkPointLoad()
vtkPointLoad
compute stress tensors given point load on semi-infinite domain
Definition: vtkPointLoad.h:39
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkImageAlgorithm.h
vtkPointLoad::SetSampleDimensions
void SetSampleDimensions(int i, int j, int k)
vtkPointLoad::PoissonsRatio
double PoissonsRatio
Definition: vtkPointLoad.h:97
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:40
vtkImagingHybridModule.h
vtkGetVectorMacro
#define vtkGetVectorMacro(name, type, count)
Definition: vtkSetGet.h:424
VTKIMAGINGHYBRID_EXPORT
#define VTKIMAGINGHYBRID_EXPORT
Definition: vtkImagingHybridModule.h:15
vtkPointLoad::SetComputeEffectiveStress
void SetComputeEffectiveStress(int)
Definition: vtkPointLoad.h:81
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPointLoad::ComputeEffectiveStressOff
void ComputeEffectiveStressOff()
Definition: vtkPointLoad.h:84
vtkPointLoad::GetComputeEffectiveStress
int GetComputeEffectiveStress()
Definition: vtkPointLoad.h:82
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkPointLoad::~vtkPointLoad
~vtkPointLoad()
Definition: vtkPointLoad.h:89
vtkPointLoad::SetSampleDimensions
void SetSampleDimensions(int dim[3])
vtkPointLoad::LoadValue
double LoadValue
Definition: vtkPointLoad.h:96
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkSetVector6Macro
#define vtkSetVector6Macro(name, type)
Definition: vtkSetGet.h:360
vtkPointLoad::New
static vtkPointLoad * New()
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkPointLoad::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)