#include <vtkPointLoad.h>
vtkPointLoad is a source object that computes stress tensors on a volume. The tensors are computed from the application of a point load on a semi-infinite domain. (The analytical results are adapted from Saada - see text.) It also is possible to compute effective stress scalars if desired. This object serves as a specialized data generator for some of the examples in the text.
Definition at line 37 of file vtkPointLoad.h.
Public Types | |
typedef vtkImageAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetSampleDimensions (int i, int j, int k) |
virtual void | SetLoadValue (double) |
virtual double | GetLoadValue () |
void | SetSampleDimensions (int dim[3]) |
virtual int * | GetSampleDimensions () |
virtual void | GetSampleDimensions (int data[3]) |
virtual void | SetModelBounds (double, double, double, double, double, double) |
virtual void | SetModelBounds (double[6]) |
virtual double * | GetModelBounds () |
virtual void | GetModelBounds (double data[6]) |
virtual void | SetPoissonsRatio (double) |
virtual double | GetPoissonsRatio () |
void | SetComputeEffectiveStress (int) |
int | GetComputeEffectiveStress () |
void | ComputeEffectiveStressOn () |
void | ComputeEffectiveStressOff () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPointLoad * | SafeDownCast (vtkObject *o) |
static vtkPointLoad * | New () |
Protected Member Functions | |
vtkPointLoad () | |
~vtkPointLoad () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual void | ExecuteData (vtkDataObject *) |
Protected Attributes | |
double | LoadValue |
double | PoissonsRatio |
int | SampleDimensions [3] |
double | ModelBounds [6] |
vtkPointLoad::vtkPointLoad | ( | ) | [protected] |
vtkPointLoad::~vtkPointLoad | ( | ) | [inline, protected] |
Definition at line 88 of file vtkPointLoad.h.
virtual const char* vtkPointLoad::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkImageAlgorithm.
static int vtkPointLoad::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageAlgorithm.
virtual int vtkPointLoad::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageAlgorithm.
static vtkPointLoad* vtkPointLoad::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkImageAlgorithm.
void vtkPointLoad::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkImageAlgorithm.
static vtkPointLoad* vtkPointLoad::New | ( | ) | [static] |
Construct with ModelBounds=(-1,1,-1,1,-1,1), SampleDimensions=(50,50,50), and LoadValue = 1.
Reimplemented from vtkAlgorithm.
virtual void vtkPointLoad::SetLoadValue | ( | double | ) | [virtual] |
Set/Get value of applied load.
virtual double vtkPointLoad::GetLoadValue | ( | ) | [virtual] |
Set/Get value of applied load.
void vtkPointLoad::SetSampleDimensions | ( | int | i, | |
int | j, | |||
int | k | |||
) |
Specify the dimensions of the volume. A stress tensor will be computed for each point in the volume.
void vtkPointLoad::SetSampleDimensions | ( | int | dim[3] | ) |
Specify the dimensions of the volume. A stress tensor will be computed for each point in the volume.
virtual int* vtkPointLoad::GetSampleDimensions | ( | ) | [virtual] |
Specify the dimensions of the volume. A stress tensor will be computed for each point in the volume.
virtual void vtkPointLoad::GetSampleDimensions | ( | int | data[3] | ) | [virtual] |
Specify the dimensions of the volume. A stress tensor will be computed for each point in the volume.
virtual void vtkPointLoad::SetModelBounds | ( | double | , | |
double | , | |||
double | , | |||
double | , | |||
double | , | |||
double | ||||
) | [virtual] |
Specify the region in space over which the tensors are computed. The point load is assumed to be applied at top center of the volume.
virtual void vtkPointLoad::SetModelBounds | ( | double | [6] | ) | [virtual] |
Specify the region in space over which the tensors are computed. The point load is assumed to be applied at top center of the volume.
virtual double* vtkPointLoad::GetModelBounds | ( | ) | [virtual] |
Specify the region in space over which the tensors are computed. The point load is assumed to be applied at top center of the volume.
virtual void vtkPointLoad::GetModelBounds | ( | double | data[6] | ) | [virtual] |
Specify the region in space over which the tensors are computed. The point load is assumed to be applied at top center of the volume.
virtual void vtkPointLoad::SetPoissonsRatio | ( | double | ) | [virtual] |
Set/Get Poisson's ratio.
virtual double vtkPointLoad::GetPoissonsRatio | ( | ) | [virtual] |
Set/Get Poisson's ratio.
void vtkPointLoad::SetComputeEffectiveStress | ( | int | ) | [inline] |
Turn on/off computation of effective stress scalar. These methods do nothing. The effective stress is always computed.
Definition at line 80 of file vtkPointLoad.h.
int vtkPointLoad::GetComputeEffectiveStress | ( | ) | [inline] |
Turn on/off computation of effective stress scalar. These methods do nothing. The effective stress is always computed.
Definition at line 81 of file vtkPointLoad.h.
void vtkPointLoad::ComputeEffectiveStressOn | ( | ) | [inline] |
Turn on/off computation of effective stress scalar. These methods do nothing. The effective stress is always computed.
Definition at line 82 of file vtkPointLoad.h.
void vtkPointLoad::ComputeEffectiveStressOff | ( | ) | [inline] |
Turn on/off computation of effective stress scalar. These methods do nothing. The effective stress is always computed.
Definition at line 83 of file vtkPointLoad.h.
virtual int vtkPointLoad::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
virtual void vtkPointLoad::ExecuteData | ( | vtkDataObject * | output | ) | [protected, virtual] |
This method is the old style execute method
Reimplemented from vtkImageAlgorithm.
double vtkPointLoad::LoadValue [protected] |
Definition at line 95 of file vtkPointLoad.h.
double vtkPointLoad::PoissonsRatio [protected] |
Definition at line 96 of file vtkPointLoad.h.
int vtkPointLoad::SampleDimensions[3] [protected] |
Definition at line 97 of file vtkPointLoad.h.
double vtkPointLoad::ModelBounds[6] [protected] |
Definition at line 98 of file vtkPointLoad.h.