10 #ifndef CMZN_FIELDSMOOTHING_HPP__ 11 #define CMZN_FIELDSMOOTHING_HPP__ 13 #include "opencmiss/zinc/fieldsmoothing.h" 14 #include "opencmiss/zinc/field.hpp" 15 #include "opencmiss/zinc/fieldmodule.hpp" 31 cmzn_fieldsmoothing_id id;
39 explicit Fieldsmoothing(cmzn_fieldsmoothing_id in_fieldsmoothing_id) :
40 id(in_fieldsmoothing_id)
44 id(cmzn_fieldsmoothing_access(fieldsmoothing.id))
49 cmzn_fieldsmoothing_id temp_id = cmzn_fieldsmoothing_access(fieldsmoothing.id);
51 cmzn_fieldsmoothing_destroy(&
id);
59 cmzn_fieldsmoothing_destroy(&
id);
89 cmzn_fieldsmoothing_id
getId()
const 103 return cmzn_fieldsmoothing_set_algorithm(
getId(),
104 static_cast<cmzn_fieldsmoothing_algorithm>(algorithm));
115 return cmzn_fieldsmoothing_set_time(
id, time);
121 return Fieldsmoothing(cmzn_fieldmodule_create_fieldsmoothing(
id));
126 return cmzn_field_smooth(this->
getId(), fieldsmoothing.
getId());
bool isValid() const
Definition: fieldsmoothing.hpp:79
int setTime(double time)
Definition: fieldsmoothing.hpp:113
Fieldsmoothing createFieldsmoothing()
Definition: fieldsmoothing.hpp:119
Parameters for smoothing a field.
Definition: fieldsmoothing.hpp:28
Definition: fieldsmoothing.hpp:69
Algorithm
Definition: fieldsmoothing.hpp:65
cmzn_fieldsmoothing_id getId() const
Definition: fieldsmoothing.hpp:89
int smooth(const Fieldsmoothing &fieldsmoothing)
Definition: fieldsmoothing.hpp:124
Definition: fieldsmoothing.hpp:67
The OpenCMISS namespace.
Definition: context.hpp:20
int setAlgorithm(Algorithm algorithm)
Definition: fieldsmoothing.hpp:101