Cleanup: use doxy sections, remove outdated comment
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
|
||||
namespace blender::fn {
|
||||
|
||||
/* --------------------------------------------------------------------
|
||||
* Field Evaluation.
|
||||
*/
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Field Evaluation
|
||||
* \{ */
|
||||
|
||||
struct FieldTreeInfo {
|
||||
/**
|
||||
@@ -571,16 +571,20 @@ bool IndexFieldInput::is_equal_to(const fn::FieldNode &other) const
|
||||
return dynamic_cast<const IndexFieldInput *>(&other) != nullptr;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------
|
||||
* FieldNode.
|
||||
*/
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Fieldnode
|
||||
* \{ */
|
||||
|
||||
/* Avoid generating the destructor in every translation unit. */
|
||||
FieldNode::~FieldNode() = default;
|
||||
|
||||
/* --------------------------------------------------------------------
|
||||
* FieldOperation.
|
||||
*/
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Fieldoperation
|
||||
* \{ */
|
||||
|
||||
FieldOperation::FieldOperation(std::shared_ptr<const MultiFunction> function,
|
||||
Vector<GField> inputs)
|
||||
@@ -653,9 +657,11 @@ FieldOperation::FieldOperation(const MultiFunction &function, Vector<GField> inp
|
||||
field_inputs_ = combine_field_inputs(inputs_);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------
|
||||
* FieldInput.
|
||||
*/
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Fieldinput
|
||||
* \{ */
|
||||
|
||||
FieldInput::FieldInput(const CPPType &type, std::string debug_name)
|
||||
: FieldNode(FieldNodeType::Input), type_(&type), debug_name_(std::move(debug_name))
|
||||
@@ -669,9 +675,11 @@ FieldInput::FieldInput(const CPPType &type, std::string debug_name)
|
||||
/* Avoid generating the destructor in every translation unit. */
|
||||
FieldInput::~FieldInput() = default;
|
||||
|
||||
/* --------------------------------------------------------------------
|
||||
* FieldConstant.
|
||||
*/
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Fieldconstant
|
||||
* \{ */
|
||||
|
||||
FieldConstant::FieldConstant(const CPPType &type, const void *value)
|
||||
: FieldNode(FieldNodeType::Constant), type_(type)
|
||||
@@ -703,9 +711,11 @@ GPointer FieldConstant::value() const
|
||||
return {type_, value_};
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------
|
||||
* FieldEvaluator.
|
||||
*/
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Fieldevaluator
|
||||
* \{ */
|
||||
|
||||
static IndexMask index_mask_from_selection(const IndexMask full_mask,
|
||||
const VArray<bool> &selection,
|
||||
@@ -800,4 +810,6 @@ IndexMask FieldEvaluator::get_evaluated_selection_as_mask()
|
||||
return selection_mask_;
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
||||
} // namespace blender::fn
|
||||
|
||||
Reference in New Issue
Block a user