10 #ifndef CMZN_FIELDASSIGNMENT_HPP__ 11 #define CMZN_FIELDASSIGNMENT_HPP__ 13 #include "opencmiss/zinc/fieldassignment.h" 14 #include "opencmiss/zinc/field.hpp" 15 #include "opencmiss/zinc/nodeset.hpp" 47 cmzn_fieldassignment_id id;
58 id(fieldassignment_id)
63 id(cmzn_fieldassignment_access(fieldassignment.id))
69 cmzn_fieldassignment_id temp_id = cmzn_fieldassignment_access(fieldassignment.id);
72 cmzn_fieldassignment_destroy(&this->
id);
82 cmzn_fieldassignment_destroy(&this->
id);
93 return (0 != this->
id);
101 cmzn_fieldassignment_id
getId()
const 114 return cmzn_fieldassignment_assign(this->
id);
126 return Field(cmzn_fieldassignment_get_conditional_field(this->
id));
141 return cmzn_fieldassignment_set_conditional_field(this->
id, conditionalField.
getId());
153 return Nodeset(cmzn_fieldassignment_get_nodeset(this->
id));
166 return cmzn_fieldassignment_set_nodeset(this->
id, nodeset.
getId());
177 return Field(cmzn_fieldassignment_get_source_field(this->
id));
188 return Field(cmzn_fieldassignment_get_target_field(this->
id));
int assign()
Definition: fieldassignment.hpp:112
Base field type: an abstraction of a mathematical field.
Definition: field.hpp:51
Nodeset getNodeset() const
Definition: fieldassignment.hpp:151
cmzn_nodeset_id getId() const
Definition: nodeset.hpp:82
Fieldassignment createFieldassignment(const Field &sourceField)
Definition: fieldassignment.hpp:192
cmzn_fieldassignment_id getId() const
Definition: fieldassignment.hpp:101
int setNodeset(const Nodeset &nodeset)
Definition: fieldassignment.hpp:164
Object for assigning values of a field from a source field.
Definition: fieldassignment.hpp:44
Field getTargetField() const
Definition: fieldassignment.hpp:186
Field getConditionalField() const
Definition: fieldassignment.hpp:124
cmzn_field_id getId() const
Definition: field.hpp:103
Field getSourceField() const
Definition: fieldassignment.hpp:175
int setConditionalField(const Field &conditionalField)
Definition: fieldassignment.hpp:139
bool isValid() const
Definition: fieldassignment.hpp:91
The OpenCMISS namespace.
Definition: context.hpp:20
A set of nodes or points.
Definition: nodeset.hpp:29