|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | Initialize () |
|
unsigned long int | GetMTime () |
|
vtkDataSetAttributes * | GetAttributes () |
|
virtual int | CheckAttributes () |
|
virtual int | Merge (vtkboneConstraint *other) |
|
|
virtual void | SetName (const char *) |
|
virtual char * | GetName () |
|
|
virtual void | SetIndices (vtkIdTypeArray *) |
|
virtual vtkIdTypeArray * | GetIndices () |
|
|
virtual void | SetConstraintAppliedTo (int) |
|
virtual int | GetConstraintAppliedTo () |
|
|
virtual void | SetConstraintType (int) |
|
virtual int | GetConstraintType () |
|
|
virtual vtkIdType | GetNumberOfValues () |
|
|
virtual void | RemoveValue (vtkIdType id) |
|
virtual void | RemoveLastValue () |
|
|
virtual void | ShallowCopy (vtkboneConstraint *constraint) |
|
virtual void | DeepCopy (vtkboneConstraint *constraint) |
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
void | PrintRevisions (ostream &) |
|
a constraint for a finite element mesh
Stores a constrain on a vtkboneFiniteElementModel. A constraint is a generalization of a boundary condition and an applied load, and encompases both those cases. Constraints consist of values assigned to a set of nodes or elements, together with some characteristics of those values.
Contains a vtkIdTypeArray 'Indices' that specifies the list of node or element IDs.
This class contains a vtkDataSetAttributes object, accessed with the method GetAttributes, that can store scalars and vectors.
Constraints on nodes, which may be either Displacement or Force constraints, require two scalar arrays. The first is the dimension that is displaced (0=x, 1=y, 2=z), and must be named SENSE, and the second is gives the displacement or force and must be named VALUE. Note that of course you can have multiple entries for the same node, but with different SENSE values.
Constraints on elements, which are typically Force constraints, require an additional scalar array to specify the Distribution of the force across the nodes of the element; this array must be named DISTRIBUTION.
Note that, although Force constraints may be assigned to either nodes or to elements, in most cases you should assign force constraints to elements, as this will typically give the expected results.
- Example:
- Here is an example of creating a boundary condition:
- Example:
ids->SetValue(0, 3);
ids->SetValue(1, 5);
senses->SetValue(0, 0);
senses->SetValue(1, 2);
values->SetValue(0, 0.1);
values->SetValue(1, 0.1);
constraint->
SetName(
"a_custom_boundary_condition");
- Example:
- Here is an example of creating an applied load:
- Example:
ids->SetValue(0, 0);
ids->SetValue(1, 3);
senses->SetValue(0, 2);
senses->SetValue(1, 2);
values->SetValue(0, 69.0);
values->SetValue(1, 69.0);
distributions->
SetName(
"DISTRIBUTION");
constraint->
SetName(
"a_custom_applied_load");
- See also
- vtkboneFiniteElementModel vtkboneConstraintCollection
Definition at line 133 of file vtkboneConstraint.h.