diff options
Diffstat (limited to 'source/blender/compositor/nodes')
170 files changed, 690 insertions, 1 deletions
diff --git a/source/blender/compositor/nodes/COM_AlphaOverNode.cc b/source/blender/compositor/nodes/COM_AlphaOverNode.cc index 640fbf49808..5e09902aee2 100644 --- a/source/blender/compositor/nodes/COM_AlphaOverNode.cc +++ b/source/blender/compositor/nodes/COM_AlphaOverNode.cc @@ -26,6 +26,8 @@ #include "COM_SetValueOperation.h" #include "DNA_material_types.h" /* the ramp types */ +namespace blender::compositor { + void AlphaOverNode::convertToOperations(NodeConverter &converter, const CompositorContext & /*context*/) const { @@ -64,3 +66,5 @@ void AlphaOverNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(2), convertProg->getInputSocket(2)); converter.mapOutputSocket(getOutputSocket(0), convertProg->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_AlphaOverNode.h b/source/blender/compositor/nodes/COM_AlphaOverNode.h index cbfda2885d7..201c8ed5b6e 100644 --- a/source/blender/compositor/nodes/COM_AlphaOverNode.h +++ b/source/blender/compositor/nodes/COM_AlphaOverNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief AlphaOverNode * \ingroup Node @@ -32,3 +34,5 @@ class AlphaOverNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_AntiAliasingNode.cc b/source/blender/compositor/nodes/COM_AntiAliasingNode.cc index 8ed627cbab6..af4832665df 100644 --- a/source/blender/compositor/nodes/COM_AntiAliasingNode.cc +++ b/source/blender/compositor/nodes/COM_AntiAliasingNode.cc @@ -22,6 +22,8 @@ #include "COM_SMAAOperation.h" #include "DNA_node_types.h" +namespace blender::compositor { + void AntiAliasingNode::convertToOperations(NodeConverter &converter, const CompositorContext & /*context*/) const { @@ -54,3 +56,5 @@ void AntiAliasingNode::convertToOperations(NodeConverter &converter, converter.addLink(operation2->getOutputSocket(), operation3->getInputSocket(1)); converter.mapOutputSocket(getOutputSocket(0), operation3->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_AntiAliasingNode.h b/source/blender/compositor/nodes/COM_AntiAliasingNode.h index 40ce21544e6..0b3f5abfdac 100644 --- a/source/blender/compositor/nodes/COM_AntiAliasingNode.h +++ b/source/blender/compositor/nodes/COM_AntiAliasingNode.h @@ -23,6 +23,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * @brief AntiAliasingNode * @ingroup Node @@ -32,7 +34,10 @@ class AntiAliasingNode : public Node { AntiAliasingNode(bNode *editorNode) : Node(editorNode) { } - void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; + void convertToOperations(NodeConverter &converter, + const CompositorContext &context) const override; }; +} // namespace blender::compositor + #endif diff --git a/source/blender/compositor/nodes/COM_BilateralBlurNode.cc b/source/blender/compositor/nodes/COM_BilateralBlurNode.cc index e8037f923f2..1b9da789d3c 100644 --- a/source/blender/compositor/nodes/COM_BilateralBlurNode.cc +++ b/source/blender/compositor/nodes/COM_BilateralBlurNode.cc @@ -21,6 +21,8 @@ #include "COM_ExecutionSystem.h" #include "DNA_node_types.h" +namespace blender::compositor { + BilateralBlurNode::BilateralBlurNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -39,3 +41,5 @@ void BilateralBlurNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(1), operation->getInputSocket(1)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_BilateralBlurNode.h b/source/blender/compositor/nodes/COM_BilateralBlurNode.h index 39abc47bfaa..fed2612ac02 100644 --- a/source/blender/compositor/nodes/COM_BilateralBlurNode.h +++ b/source/blender/compositor/nodes/COM_BilateralBlurNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief BilateralBlurNode * \ingroup Node @@ -30,3 +32,5 @@ class BilateralBlurNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_BlurNode.cc b/source/blender/compositor/nodes/COM_BlurNode.cc index b82bede8443..e55a594b9c0 100644 --- a/source/blender/compositor/nodes/COM_BlurNode.cc +++ b/source/blender/compositor/nodes/COM_BlurNode.cc @@ -29,6 +29,8 @@ #include "COM_SetValueOperation.h" #include "DNA_node_types.h" +namespace blender::compositor { + BlurNode::BlurNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -168,3 +170,5 @@ void BlurNode::convertToOperations(NodeConverter &converter, converter.addPreview(output_operation->getOutputSocket()); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_BlurNode.h b/source/blender/compositor/nodes/COM_BlurNode.h index 6f756445ea2..61cdc17f3a9 100644 --- a/source/blender/compositor/nodes/COM_BlurNode.h +++ b/source/blender/compositor/nodes/COM_BlurNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief BlurNode * \ingroup Node @@ -30,3 +32,5 @@ class BlurNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_BokehBlurNode.cc b/source/blender/compositor/nodes/COM_BokehBlurNode.cc index 5096dbef608..1d2a0dae390 100644 --- a/source/blender/compositor/nodes/COM_BokehBlurNode.cc +++ b/source/blender/compositor/nodes/COM_BokehBlurNode.cc @@ -25,6 +25,8 @@ #include "DNA_node_types.h" #include "DNA_object_types.h" +namespace blender::compositor { + BokehBlurNode::BokehBlurNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -75,3 +77,5 @@ void BokehBlurNode::convertToOperations(NodeConverter &converter, } } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_BokehBlurNode.h b/source/blender/compositor/nodes/COM_BokehBlurNode.h index 3d73fc50dbc..2c060936025 100644 --- a/source/blender/compositor/nodes/COM_BokehBlurNode.h +++ b/source/blender/compositor/nodes/COM_BokehBlurNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief BokehBlurNode * \ingroup Node @@ -30,3 +32,5 @@ class BokehBlurNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_BokehImageNode.cc b/source/blender/compositor/nodes/COM_BokehImageNode.cc index 87fe4979c1d..2b0a47c76bc 100644 --- a/source/blender/compositor/nodes/COM_BokehImageNode.cc +++ b/source/blender/compositor/nodes/COM_BokehImageNode.cc @@ -20,6 +20,8 @@ #include "COM_BokehImageOperation.h" #include "COM_ExecutionSystem.h" +namespace blender::compositor { + BokehImageNode::BokehImageNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -36,3 +38,5 @@ void BokehImageNode::convertToOperations(NodeConverter &converter, converter.addPreview(operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_BokehImageNode.h b/source/blender/compositor/nodes/COM_BokehImageNode.h index 0adb671ddc3..323561a7e4f 100644 --- a/source/blender/compositor/nodes/COM_BokehImageNode.h +++ b/source/blender/compositor/nodes/COM_BokehImageNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief BokehImageNode * \ingroup Node @@ -30,3 +32,5 @@ class BokehImageNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_BoxMaskNode.cc b/source/blender/compositor/nodes/COM_BoxMaskNode.cc index 2776089d503..14f42cc42f7 100644 --- a/source/blender/compositor/nodes/COM_BoxMaskNode.cc +++ b/source/blender/compositor/nodes/COM_BoxMaskNode.cc @@ -23,6 +23,8 @@ #include "COM_ScaleOperation.h" #include "COM_SetValueOperation.h" +namespace blender::compositor { + BoxMaskNode::BoxMaskNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -70,3 +72,5 @@ void BoxMaskNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(1), operation->getInputSocket(1)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_BoxMaskNode.h b/source/blender/compositor/nodes/COM_BoxMaskNode.h index 572228d2684..46cedf7af75 100644 --- a/source/blender/compositor/nodes/COM_BoxMaskNode.h +++ b/source/blender/compositor/nodes/COM_BoxMaskNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief BoxMaskNode * \ingroup Node @@ -30,3 +32,5 @@ class BoxMaskNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_BrightnessNode.cc b/source/blender/compositor/nodes/COM_BrightnessNode.cc index fcd2a6de1f4..b64f1fea99f 100644 --- a/source/blender/compositor/nodes/COM_BrightnessNode.cc +++ b/source/blender/compositor/nodes/COM_BrightnessNode.cc @@ -20,6 +20,8 @@ #include "COM_BrightnessOperation.h" #include "COM_ExecutionSystem.h" +namespace blender::compositor { + BrightnessNode::BrightnessNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -38,3 +40,5 @@ void BrightnessNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(2), operation->getInputSocket(2)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_BrightnessNode.h b/source/blender/compositor/nodes/COM_BrightnessNode.h index 4ae50e23798..1084108b1c3 100644 --- a/source/blender/compositor/nodes/COM_BrightnessNode.h +++ b/source/blender/compositor/nodes/COM_BrightnessNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief BrightnessNode * \ingroup Node @@ -30,3 +32,5 @@ class BrightnessNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ChannelMatteNode.cc b/source/blender/compositor/nodes/COM_ChannelMatteNode.cc index 598cd7b7745..d0f72274aea 100644 --- a/source/blender/compositor/nodes/COM_ChannelMatteNode.cc +++ b/source/blender/compositor/nodes/COM_ChannelMatteNode.cc @@ -22,6 +22,8 @@ #include "COM_ConvertOperation.h" #include "COM_SetAlphaMultiplyOperation.h" +namespace blender::compositor { + ChannelMatteNode::ChannelMatteNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -93,3 +95,5 @@ void ChannelMatteNode::convertToOperations(NodeConverter &converter, converter.addPreview(operationAlpha->getOutputSocket()); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ChannelMatteNode.h b/source/blender/compositor/nodes/COM_ChannelMatteNode.h index f282ae81afc..46100b3f7ea 100644 --- a/source/blender/compositor/nodes/COM_ChannelMatteNode.h +++ b/source/blender/compositor/nodes/COM_ChannelMatteNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ChannelMatteNode * \ingroup Node @@ -30,3 +32,5 @@ class ChannelMatteNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ChromaMatteNode.cc b/source/blender/compositor/nodes/COM_ChromaMatteNode.cc index 83e88b35f92..9abf183a843 100644 --- a/source/blender/compositor/nodes/COM_ChromaMatteNode.cc +++ b/source/blender/compositor/nodes/COM_ChromaMatteNode.cc @@ -22,6 +22,8 @@ #include "COM_ConvertOperation.h" #include "COM_SetAlphaMultiplyOperation.h" +namespace blender::compositor { + ChromaMatteNode::ChromaMatteNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -63,3 +65,5 @@ void ChromaMatteNode::convertToOperations(NodeConverter &converter, converter.addPreview(operationAlpha->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ChromaMatteNode.h b/source/blender/compositor/nodes/COM_ChromaMatteNode.h index 196c69bfe9d..f3ddd013fa4 100644 --- a/source/blender/compositor/nodes/COM_ChromaMatteNode.h +++ b/source/blender/compositor/nodes/COM_ChromaMatteNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ChromaMatteNode * \ingroup Node @@ -30,3 +32,5 @@ class ChromaMatteNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorBalanceNode.cc b/source/blender/compositor/nodes/COM_ColorBalanceNode.cc index 596d9631297..03e4e143061 100644 --- a/source/blender/compositor/nodes/COM_ColorBalanceNode.cc +++ b/source/blender/compositor/nodes/COM_ColorBalanceNode.cc @@ -23,6 +23,8 @@ #include "COM_ExecutionSystem.h" #include "COM_MixOperation.h" +namespace blender::compositor { + ColorBalanceNode::ColorBalanceNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -71,3 +73,5 @@ void ColorBalanceNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(inputImageSocket, operation->getInputSocket(1)); converter.mapOutputSocket(outputSocket, operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorBalanceNode.h b/source/blender/compositor/nodes/COM_ColorBalanceNode.h index 0391fbe25c3..243713b4912 100644 --- a/source/blender/compositor/nodes/COM_ColorBalanceNode.h +++ b/source/blender/compositor/nodes/COM_ColorBalanceNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ColorBalanceNode * \ingroup Node @@ -30,3 +32,5 @@ class ColorBalanceNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorCorrectionNode.cc b/source/blender/compositor/nodes/COM_ColorCorrectionNode.cc index 92b334fddb9..6397b1d8e4b 100644 --- a/source/blender/compositor/nodes/COM_ColorCorrectionNode.cc +++ b/source/blender/compositor/nodes/COM_ColorCorrectionNode.cc @@ -20,6 +20,8 @@ #include "COM_ColorCorrectionOperation.h" #include "COM_ExecutionSystem.h" +namespace blender::compositor { + ColorCorrectionNode::ColorCorrectionNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -41,3 +43,5 @@ void ColorCorrectionNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(1), operation->getInputSocket(1)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorCorrectionNode.h b/source/blender/compositor/nodes/COM_ColorCorrectionNode.h index 35878dde32f..aee07ee07a3 100644 --- a/source/blender/compositor/nodes/COM_ColorCorrectionNode.h +++ b/source/blender/compositor/nodes/COM_ColorCorrectionNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ColorCorrectionNode * \ingroup Node @@ -30,3 +32,5 @@ class ColorCorrectionNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorCurveNode.cc b/source/blender/compositor/nodes/COM_ColorCurveNode.cc index e1888f3f0bc..774dd689a46 100644 --- a/source/blender/compositor/nodes/COM_ColorCurveNode.cc +++ b/source/blender/compositor/nodes/COM_ColorCurveNode.cc @@ -20,6 +20,8 @@ #include "COM_ColorCurveOperation.h" #include "COM_ExecutionSystem.h" +namespace blender::compositor { + ColorCurveNode::ColorCurveNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -55,3 +57,5 @@ void ColorCurveNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket()); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorCurveNode.h b/source/blender/compositor/nodes/COM_ColorCurveNode.h index 18806c00264..89786b47cf5 100644 --- a/source/blender/compositor/nodes/COM_ColorCurveNode.h +++ b/source/blender/compositor/nodes/COM_ColorCurveNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ColorCurveNode * \ingroup Node @@ -30,3 +32,5 @@ class ColorCurveNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorExposureNode.cc b/source/blender/compositor/nodes/COM_ColorExposureNode.cc index cd0285ac373..a8f164e6b66 100644 --- a/source/blender/compositor/nodes/COM_ColorExposureNode.cc +++ b/source/blender/compositor/nodes/COM_ColorExposureNode.cc @@ -20,6 +20,8 @@ #include "COM_ColorExposureOperation.h" #include "COM_ExecutionSystem.h" +namespace blender::compositor { + ExposureNode::ExposureNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -35,3 +37,5 @@ void ExposureNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(1), operation->getInputSocket(1)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorExposureNode.h b/source/blender/compositor/nodes/COM_ColorExposureNode.h index 97fa9c97650..df9bfc65f81 100644 --- a/source/blender/compositor/nodes/COM_ColorExposureNode.h +++ b/source/blender/compositor/nodes/COM_ColorExposureNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ExposureNode * \ingroup Node @@ -30,3 +32,5 @@ class ExposureNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorMatteNode.cc b/source/blender/compositor/nodes/COM_ColorMatteNode.cc index 865eee5427f..eadb8ce4f96 100644 --- a/source/blender/compositor/nodes/COM_ColorMatteNode.cc +++ b/source/blender/compositor/nodes/COM_ColorMatteNode.cc @@ -22,6 +22,8 @@ #include "COM_ConvertOperation.h" #include "COM_SetAlphaMultiplyOperation.h" +namespace blender::compositor { + ColorMatteNode::ColorMatteNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -61,3 +63,5 @@ void ColorMatteNode::convertToOperations(NodeConverter &converter, converter.addPreview(operationAlpha->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorMatteNode.h b/source/blender/compositor/nodes/COM_ColorMatteNode.h index 3f47d707d38..9d70b6d8416 100644 --- a/source/blender/compositor/nodes/COM_ColorMatteNode.h +++ b/source/blender/compositor/nodes/COM_ColorMatteNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ColorMatteNode * \ingroup Node @@ -30,3 +32,5 @@ class ColorMatteNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorNode.cc b/source/blender/compositor/nodes/COM_ColorNode.cc index e6f8bfa01fe..f8277645a4b 100644 --- a/source/blender/compositor/nodes/COM_ColorNode.cc +++ b/source/blender/compositor/nodes/COM_ColorNode.cc @@ -20,6 +20,8 @@ #include "COM_ExecutionSystem.h" #include "COM_SetColorOperation.h" +namespace blender::compositor { + ColorNode::ColorNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -37,3 +39,5 @@ void ColorNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(output, operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorNode.h b/source/blender/compositor/nodes/COM_ColorNode.h index 5df60dfbe1c..ae3bf575bb4 100644 --- a/source/blender/compositor/nodes/COM_ColorNode.h +++ b/source/blender/compositor/nodes/COM_ColorNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ColorNode * \ingroup Node @@ -30,3 +32,5 @@ class ColorNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorRampNode.cc b/source/blender/compositor/nodes/COM_ColorRampNode.cc index 1504a76cee7..6b44ef3057e 100644 --- a/source/blender/compositor/nodes/COM_ColorRampNode.cc +++ b/source/blender/compositor/nodes/COM_ColorRampNode.cc @@ -23,6 +23,8 @@ #include "COM_ExecutionSystem.h" #include "DNA_texture_types.h" +namespace blender::compositor { + ColorRampNode::ColorRampNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -50,3 +52,5 @@ void ColorRampNode::convertToOperations(NodeConverter &converter, converter.addLink(operation->getOutputSocket(), operation2->getInputSocket(0)); converter.mapOutputSocket(outputSocketAlpha, operation2->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorRampNode.h b/source/blender/compositor/nodes/COM_ColorRampNode.h index 81c3a2f78dc..d0c0e43d56c 100644 --- a/source/blender/compositor/nodes/COM_ColorRampNode.h +++ b/source/blender/compositor/nodes/COM_ColorRampNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ColorRampNode * \ingroup Node @@ -30,3 +32,5 @@ class ColorRampNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorSpillNode.cc b/source/blender/compositor/nodes/COM_ColorSpillNode.cc index d1a3099e998..119cff93e84 100644 --- a/source/blender/compositor/nodes/COM_ColorSpillNode.cc +++ b/source/blender/compositor/nodes/COM_ColorSpillNode.cc @@ -20,6 +20,8 @@ #include "BKE_node.h" #include "COM_ColorSpillOperation.h" +namespace blender::compositor { + ColorSpillNode::ColorSpillNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -45,3 +47,5 @@ void ColorSpillNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(inputSocketFac, operation->getInputSocket(1)); converter.mapOutputSocket(outputSocketImage, operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorSpillNode.h b/source/blender/compositor/nodes/COM_ColorSpillNode.h index 3026f335ba6..731a76e8811 100644 --- a/source/blender/compositor/nodes/COM_ColorSpillNode.h +++ b/source/blender/compositor/nodes/COM_ColorSpillNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ColorSpillNode * \ingroup Node @@ -30,3 +32,5 @@ class ColorSpillNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorToBWNode.cc b/source/blender/compositor/nodes/COM_ColorToBWNode.cc index 4115bad5d3f..dcedfc19e4d 100644 --- a/source/blender/compositor/nodes/COM_ColorToBWNode.cc +++ b/source/blender/compositor/nodes/COM_ColorToBWNode.cc @@ -21,6 +21,8 @@ #include "COM_ConvertOperation.h" #include "COM_ExecutionSystem.h" +namespace blender::compositor { + ColorToBWNode::ColorToBWNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -38,3 +40,5 @@ void ColorToBWNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(colorSocket, convertProg->getInputSocket(0)); converter.mapOutputSocket(valueSocket, convertProg->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ColorToBWNode.h b/source/blender/compositor/nodes/COM_ColorToBWNode.h index 475563f0830..60c08a3c886 100644 --- a/source/blender/compositor/nodes/COM_ColorToBWNode.h +++ b/source/blender/compositor/nodes/COM_ColorToBWNode.h @@ -20,6 +20,9 @@ #include "COM_Node.h" #include "DNA_node_types.h" + +namespace blender::compositor { + /** * \brief ColorToBWNode * \ingroup Node @@ -30,3 +33,5 @@ class ColorToBWNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_CombineColorNode.cc b/source/blender/compositor/nodes/COM_CombineColorNode.cc index 12968f06a10..8a2bbba1c1e 100644 --- a/source/blender/compositor/nodes/COM_CombineColorNode.cc +++ b/source/blender/compositor/nodes/COM_CombineColorNode.cc @@ -20,6 +20,8 @@ #include "COM_ConvertOperation.h" +namespace blender::compositor { + CombineColorNode::CombineColorNode(bNode *editorNode) : Node(editorNode) { } @@ -87,3 +89,5 @@ NodeOperation *CombineYUVANode::getColorConverter(const CompositorContext & /*co { return new ConvertYUVToRGBOperation(); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_CombineColorNode.h b/source/blender/compositor/nodes/COM_CombineColorNode.h index e6a8f5acfb7..29d3fa37817 100644 --- a/source/blender/compositor/nodes/COM_CombineColorNode.h +++ b/source/blender/compositor/nodes/COM_CombineColorNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + class CombineColorNode : public Node { public: CombineColorNode(bNode *editorNode); @@ -65,3 +67,5 @@ class CombineYUVANode : public CombineColorNode { NodeOperation *getColorConverter(const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_CompositorNode.cc b/source/blender/compositor/nodes/COM_CompositorNode.cc index 32ac1fccec9..262fa550915 100644 --- a/source/blender/compositor/nodes/COM_CompositorNode.cc +++ b/source/blender/compositor/nodes/COM_CompositorNode.cc @@ -20,6 +20,8 @@ #include "COM_CompositorOperation.h" #include "COM_ExecutionSystem.h" +namespace blender::compositor { + CompositorNode::CompositorNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -59,3 +61,5 @@ void CompositorNode::convertToOperations(NodeConverter &converter, converter.addNodeInputPreview(imageSocket); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_CompositorNode.h b/source/blender/compositor/nodes/COM_CompositorNode.h index 488cfe88d24..4da9f9a766f 100644 --- a/source/blender/compositor/nodes/COM_CompositorNode.h +++ b/source/blender/compositor/nodes/COM_CompositorNode.h @@ -20,6 +20,9 @@ #include "COM_Node.h" #include "DNA_node_types.h" + +namespace blender::compositor { + /** * \brief CompositorNode * \ingroup Node @@ -30,3 +33,5 @@ class CompositorNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ConvertAlphaNode.cc b/source/blender/compositor/nodes/COM_ConvertAlphaNode.cc index 2921b44c95b..ac4e45357dc 100644 --- a/source/blender/compositor/nodes/COM_ConvertAlphaNode.cc +++ b/source/blender/compositor/nodes/COM_ConvertAlphaNode.cc @@ -20,6 +20,8 @@ #include "COM_ConvertOperation.h" #include "COM_ExecutionSystem.h" +namespace blender::compositor { + void ConvertAlphaNode::convertToOperations(NodeConverter &converter, const CompositorContext & /*context*/) const { @@ -39,3 +41,5 @@ void ConvertAlphaNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(0), operation->getInputSocket(0)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ConvertAlphaNode.h b/source/blender/compositor/nodes/COM_ConvertAlphaNode.h index 45be8925ad2..f3d0ef2cd5b 100644 --- a/source/blender/compositor/nodes/COM_ConvertAlphaNode.h +++ b/source/blender/compositor/nodes/COM_ConvertAlphaNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ConvertAlphaNode * \ingroup Node @@ -32,3 +34,5 @@ class ConvertAlphaNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_CornerPinNode.cc b/source/blender/compositor/nodes/COM_CornerPinNode.cc index efe847bbfbf..6a120cffe0a 100644 --- a/source/blender/compositor/nodes/COM_CornerPinNode.cc +++ b/source/blender/compositor/nodes/COM_CornerPinNode.cc @@ -20,6 +20,8 @@ #include "COM_PlaneCornerPinOperation.h" +namespace blender::compositor { + CornerPinNode::CornerPinNode(bNode *editorNode) : Node(editorNode) { } @@ -53,3 +55,5 @@ void CornerPinNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(output_warped_image, warp_image_operation->getOutputSocket()); converter.mapOutputSocket(output_plane, plane_mask_operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_CornerPinNode.h b/source/blender/compositor/nodes/COM_CornerPinNode.h index 5cbedcb7057..779e057ebb5 100644 --- a/source/blender/compositor/nodes/COM_CornerPinNode.h +++ b/source/blender/compositor/nodes/COM_CornerPinNode.h @@ -21,6 +21,8 @@ #include "DNA_node_types.h" +namespace blender::compositor { + /** * \brief CornerPinNode * \ingroup Node @@ -31,3 +33,5 @@ class CornerPinNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_CropNode.cc b/source/blender/compositor/nodes/COM_CropNode.cc index 0f0883b0151..3f01062c789 100644 --- a/source/blender/compositor/nodes/COM_CropNode.cc +++ b/source/blender/compositor/nodes/COM_CropNode.cc @@ -19,6 +19,8 @@ #include "COM_CropNode.h" #include "COM_CropOperation.h" +namespace blender::compositor { + CropNode::CropNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -45,3 +47,5 @@ void CropNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(0), operation->getInputSocket(0)); converter.mapOutputSocket(getOutputSocket(), operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_CropNode.h b/source/blender/compositor/nodes/COM_CropNode.h index 54ada91a5cc..be3c9a268f9 100644 --- a/source/blender/compositor/nodes/COM_CropNode.h +++ b/source/blender/compositor/nodes/COM_CropNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief CropNode * \ingroup Node @@ -30,3 +32,5 @@ class CropNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_CryptomatteNode.cc b/source/blender/compositor/nodes/COM_CryptomatteNode.cc index 591db8a96e5..f5025285a34 100644 --- a/source/blender/compositor/nodes/COM_CryptomatteNode.cc +++ b/source/blender/compositor/nodes/COM_CryptomatteNode.cc @@ -31,6 +31,8 @@ #include <iterator> #include <string> +namespace blender::compositor { + /** \name Cryptomatte base * \{ */ @@ -261,3 +263,5 @@ CryptomatteOperation *CryptomatteLegacyNode::create_cryptomatte_operation( } /* \} */ + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_CryptomatteNode.h b/source/blender/compositor/nodes/COM_CryptomatteNode.h index 0ea05eb50f7..a6ba860c678 100644 --- a/source/blender/compositor/nodes/COM_CryptomatteNode.h +++ b/source/blender/compositor/nodes/COM_CryptomatteNode.h @@ -24,6 +24,8 @@ #include "COM_CryptomatteOperation.h" #include "COM_Node.h" +namespace blender::compositor { + /** * \brief CryptomatteNode * \ingroup Node @@ -88,3 +90,5 @@ class CryptomatteLegacyNode : public CryptomatteBaseNode { const bNode &node, const NodeCryptomatte *cryptomatte_settings) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DefocusNode.cc b/source/blender/compositor/nodes/COM_DefocusNode.cc index 2343b14f68d..fee7c477d9c 100644 --- a/source/blender/compositor/nodes/COM_DefocusNode.cc +++ b/source/blender/compositor/nodes/COM_DefocusNode.cc @@ -30,6 +30,8 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" +namespace blender::compositor { + DefocusNode::DefocusNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -141,3 +143,5 @@ void DefocusNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(getOutputSocket(), operation->getOutputSocket()); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DefocusNode.h b/source/blender/compositor/nodes/COM_DefocusNode.h index 447950c66dd..5e51a0ccd52 100644 --- a/source/blender/compositor/nodes/COM_DefocusNode.h +++ b/source/blender/compositor/nodes/COM_DefocusNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief DefocusNode * \ingroup Node @@ -30,3 +32,5 @@ class DefocusNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DenoiseNode.cc b/source/blender/compositor/nodes/COM_DenoiseNode.cc index 1aae81e1e7b..e58a9c7ba9a 100644 --- a/source/blender/compositor/nodes/COM_DenoiseNode.cc +++ b/source/blender/compositor/nodes/COM_DenoiseNode.cc @@ -21,6 +21,8 @@ #include "COM_SetValueOperation.h" #include "DNA_node_types.h" +namespace blender::compositor { + DenoiseNode::DenoiseNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -41,3 +43,5 @@ void DenoiseNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(2), operation->getInputSocket(2)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DenoiseNode.h b/source/blender/compositor/nodes/COM_DenoiseNode.h index eb0857fe514..91be8e3e3ad 100644 --- a/source/blender/compositor/nodes/COM_DenoiseNode.h +++ b/source/blender/compositor/nodes/COM_DenoiseNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief DenoiseNode * \ingroup Node @@ -30,3 +32,5 @@ class DenoiseNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DespeckleNode.cc b/source/blender/compositor/nodes/COM_DespeckleNode.cc index 58734917831..beda479025d 100644 --- a/source/blender/compositor/nodes/COM_DespeckleNode.cc +++ b/source/blender/compositor/nodes/COM_DespeckleNode.cc @@ -22,6 +22,8 @@ #include "COM_ExecutionSystem.h" #include "DNA_scene_types.h" +namespace blender::compositor { + DespeckleNode::DespeckleNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -46,3 +48,5 @@ void DespeckleNode::convertToOperations(NodeConverter &converter, converter.addPreview(operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DespeckleNode.h b/source/blender/compositor/nodes/COM_DespeckleNode.h index 47879bc3d3c..2f268e99e1b 100644 --- a/source/blender/compositor/nodes/COM_DespeckleNode.h +++ b/source/blender/compositor/nodes/COM_DespeckleNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief DespeckleNode * \ingroup Node @@ -30,3 +32,5 @@ class DespeckleNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DifferenceMatteNode.cc b/source/blender/compositor/nodes/COM_DifferenceMatteNode.cc index 3d538e9b4a0..8c989bfc04e 100644 --- a/source/blender/compositor/nodes/COM_DifferenceMatteNode.cc +++ b/source/blender/compositor/nodes/COM_DifferenceMatteNode.cc @@ -21,6 +21,8 @@ #include "COM_DifferenceMatteOperation.h" #include "COM_SetAlphaMultiplyOperation.h" +namespace blender::compositor { + DifferenceMatteNode::DifferenceMatteNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -52,3 +54,5 @@ void DifferenceMatteNode::convertToOperations(NodeConverter &converter, converter.addPreview(operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DifferenceMatteNode.h b/source/blender/compositor/nodes/COM_DifferenceMatteNode.h index db149a02c07..a173c723192 100644 --- a/source/blender/compositor/nodes/COM_DifferenceMatteNode.h +++ b/source/blender/compositor/nodes/COM_DifferenceMatteNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief DifferenceMatteNode * \ingroup Node @@ -30,3 +32,5 @@ class DifferenceMatteNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DilateErodeNode.cc b/source/blender/compositor/nodes/COM_DilateErodeNode.cc index e90707618e5..81af1687959 100644 --- a/source/blender/compositor/nodes/COM_DilateErodeNode.cc +++ b/source/blender/compositor/nodes/COM_DilateErodeNode.cc @@ -24,6 +24,8 @@ #include "COM_GaussianAlphaXBlurOperation.h" #include "COM_GaussianAlphaYBlurOperation.h" +namespace blender::compositor { + DilateErodeNode::DilateErodeNode(bNode *editorNode) : Node(editorNode) { /* initialize node data */ @@ -147,3 +149,5 @@ void DilateErodeNode::convertToOperations(NodeConverter &converter, } } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DilateErodeNode.h b/source/blender/compositor/nodes/COM_DilateErodeNode.h index 78cc2d21a7a..7684d7e3834 100644 --- a/source/blender/compositor/nodes/COM_DilateErodeNode.h +++ b/source/blender/compositor/nodes/COM_DilateErodeNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief DilateErodeNode * \ingroup Node @@ -33,3 +35,5 @@ class DilateErodeNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DirectionalBlurNode.cc b/source/blender/compositor/nodes/COM_DirectionalBlurNode.cc index f8d0eaf4675..90c4236bce8 100644 --- a/source/blender/compositor/nodes/COM_DirectionalBlurNode.cc +++ b/source/blender/compositor/nodes/COM_DirectionalBlurNode.cc @@ -21,6 +21,8 @@ #include "COM_ExecutionSystem.h" #include "DNA_node_types.h" +namespace blender::compositor { + DirectionalBlurNode::DirectionalBlurNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -38,3 +40,5 @@ void DirectionalBlurNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(0), operation->getInputSocket(0)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DirectionalBlurNode.h b/source/blender/compositor/nodes/COM_DirectionalBlurNode.h index 2f64559e378..ce3ef378aaf 100644 --- a/source/blender/compositor/nodes/COM_DirectionalBlurNode.h +++ b/source/blender/compositor/nodes/COM_DirectionalBlurNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief DirectionalBlurNode * \ingroup Node @@ -30,3 +32,5 @@ class DirectionalBlurNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DisplaceNode.cc b/source/blender/compositor/nodes/COM_DisplaceNode.cc index 5b63bc1f393..8217caecf44 100644 --- a/source/blender/compositor/nodes/COM_DisplaceNode.cc +++ b/source/blender/compositor/nodes/COM_DisplaceNode.cc @@ -21,6 +21,8 @@ #include "COM_DisplaceSimpleOperation.h" #include "COM_ExecutionSystem.h" +namespace blender::compositor { + DisplaceNode::DisplaceNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -44,3 +46,5 @@ void DisplaceNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(3), operation->getInputSocket(3)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DisplaceNode.h b/source/blender/compositor/nodes/COM_DisplaceNode.h index 5496d6833c1..b2495839da3 100644 --- a/source/blender/compositor/nodes/COM_DisplaceNode.h +++ b/source/blender/compositor/nodes/COM_DisplaceNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief DisplaceNode * \ingroup Node @@ -30,3 +32,5 @@ class DisplaceNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DistanceMatteNode.cc b/source/blender/compositor/nodes/COM_DistanceMatteNode.cc index 37aeb5c8504..4450c4a2f4a 100644 --- a/source/blender/compositor/nodes/COM_DistanceMatteNode.cc +++ b/source/blender/compositor/nodes/COM_DistanceMatteNode.cc @@ -23,6 +23,8 @@ #include "COM_DistanceYCCMatteOperation.h" #include "COM_SetAlphaMultiplyOperation.h" +namespace blender::compositor { + DistanceMatteNode::DistanceMatteNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -96,3 +98,5 @@ void DistanceMatteNode::convertToOperations(NodeConverter &converter, converter.addPreview(operationAlpha->getOutputSocket()); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DistanceMatteNode.h b/source/blender/compositor/nodes/COM_DistanceMatteNode.h index c237edc4d2d..0baa531b4d2 100644 --- a/source/blender/compositor/nodes/COM_DistanceMatteNode.h +++ b/source/blender/compositor/nodes/COM_DistanceMatteNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief DistanceMatteNode * \ingroup Node @@ -30,3 +32,5 @@ class DistanceMatteNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DoubleEdgeMaskNode.cc b/source/blender/compositor/nodes/COM_DoubleEdgeMaskNode.cc index 907a9f49353..847dcc2f8f1 100644 --- a/source/blender/compositor/nodes/COM_DoubleEdgeMaskNode.cc +++ b/source/blender/compositor/nodes/COM_DoubleEdgeMaskNode.cc @@ -20,6 +20,8 @@ #include "COM_DoubleEdgeMaskOperation.h" #include "COM_ExecutionSystem.h" +namespace blender::compositor { + DoubleEdgeMaskNode::DoubleEdgeMaskNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -40,3 +42,5 @@ void DoubleEdgeMaskNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(1), operation->getInputSocket(1)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_DoubleEdgeMaskNode.h b/source/blender/compositor/nodes/COM_DoubleEdgeMaskNode.h index 0244ba2cbe2..90e009747c1 100644 --- a/source/blender/compositor/nodes/COM_DoubleEdgeMaskNode.h +++ b/source/blender/compositor/nodes/COM_DoubleEdgeMaskNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief DoubleEdgeMaskNode * \ingroup Node @@ -30,3 +32,5 @@ class DoubleEdgeMaskNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_EllipseMaskNode.cc b/source/blender/compositor/nodes/COM_EllipseMaskNode.cc index 7d74623ab1f..3b4f5ca8c94 100644 --- a/source/blender/compositor/nodes/COM_EllipseMaskNode.cc +++ b/source/blender/compositor/nodes/COM_EllipseMaskNode.cc @@ -23,6 +23,8 @@ #include "COM_ScaleOperation.h" #include "COM_SetValueOperation.h" +namespace blender::compositor { + EllipseMaskNode::EllipseMaskNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -70,3 +72,5 @@ void EllipseMaskNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(1), operation->getInputSocket(1)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_EllipseMaskNode.h b/source/blender/compositor/nodes/COM_EllipseMaskNode.h index 87f2c498165..cbe189be9f6 100644 --- a/source/blender/compositor/nodes/COM_EllipseMaskNode.h +++ b/source/blender/compositor/nodes/COM_EllipseMaskNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief EllipseMaskNode * \ingroup Node @@ -30,3 +32,5 @@ class EllipseMaskNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_FilterNode.cc b/source/blender/compositor/nodes/COM_FilterNode.cc index 1147c11794f..351219155c2 100644 --- a/source/blender/compositor/nodes/COM_FilterNode.cc +++ b/source/blender/compositor/nodes/COM_FilterNode.cc @@ -23,6 +23,8 @@ #include "COM_ExecutionSystem.h" #include "COM_MixOperation.h" +namespace blender::compositor { + FilterNode::FilterNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -94,3 +96,5 @@ void FilterNode::convertToOperations(NodeConverter &converter, converter.addPreview(operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_FilterNode.h b/source/blender/compositor/nodes/COM_FilterNode.h index c86e65b5807..f7f4176cea5 100644 --- a/source/blender/compositor/nodes/COM_FilterNode.h +++ b/source/blender/compositor/nodes/COM_FilterNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief FilterNode * \ingroup Node @@ -30,3 +32,5 @@ class FilterNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_FlipNode.cc b/source/blender/compositor/nodes/COM_FlipNode.cc index d89e6b7b844..bca6cd3c4f7 100644 --- a/source/blender/compositor/nodes/COM_FlipNode.cc +++ b/source/blender/compositor/nodes/COM_FlipNode.cc @@ -21,6 +21,8 @@ #include "COM_ExecutionSystem.h" #include "COM_FlipOperation.h" +namespace blender::compositor { + FlipNode::FlipNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -52,3 +54,5 @@ void FlipNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(inputSocket, operation->getInputSocket(0)); converter.mapOutputSocket(outputSocket, operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_FlipNode.h b/source/blender/compositor/nodes/COM_FlipNode.h index 29fa904c4f6..ee61d09fbba 100644 --- a/source/blender/compositor/nodes/COM_FlipNode.h +++ b/source/blender/compositor/nodes/COM_FlipNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief FlipNode * \ingroup Node @@ -30,3 +32,5 @@ class FlipNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_GammaNode.cc b/source/blender/compositor/nodes/COM_GammaNode.cc index 1ce17faa0dc..52148a80a8f 100644 --- a/source/blender/compositor/nodes/COM_GammaNode.cc +++ b/source/blender/compositor/nodes/COM_GammaNode.cc @@ -20,6 +20,8 @@ #include "COM_ExecutionSystem.h" #include "COM_GammaOperation.h" +namespace blender::compositor { + GammaNode::GammaNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -35,3 +37,5 @@ void GammaNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(1), operation->getInputSocket(1)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_GammaNode.h b/source/blender/compositor/nodes/COM_GammaNode.h index b3bf9b649b9..29c9ed170fa 100644 --- a/source/blender/compositor/nodes/COM_GammaNode.h +++ b/source/blender/compositor/nodes/COM_GammaNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief GammaNode * \ingroup Node @@ -30,3 +32,5 @@ class GammaNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_GlareNode.cc b/source/blender/compositor/nodes/COM_GlareNode.cc index d59d7ce4b1d..dbe9aaf73ed 100644 --- a/source/blender/compositor/nodes/COM_GlareNode.cc +++ b/source/blender/compositor/nodes/COM_GlareNode.cc @@ -27,6 +27,8 @@ #include "COM_SetValueOperation.h" #include "DNA_node_types.h" +namespace blender::compositor { + GlareNode::GlareNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -80,3 +82,5 @@ void GlareNode::convertToOperations(NodeConverter &converter, converter.addLink(glareoperation->getOutputSocket(), mixoperation->getInputSocket(2)); converter.mapOutputSocket(getOutputSocket(), mixoperation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_GlareNode.h b/source/blender/compositor/nodes/COM_GlareNode.h index dbc02656006..7db5fa85e04 100644 --- a/source/blender/compositor/nodes/COM_GlareNode.h +++ b/source/blender/compositor/nodes/COM_GlareNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief GlareNode * \ingroup Node @@ -30,3 +32,5 @@ class GlareNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_HueSaturationValueCorrectNode.cc b/source/blender/compositor/nodes/COM_HueSaturationValueCorrectNode.cc index 00125ba2ea5..5042d217f9a 100644 --- a/source/blender/compositor/nodes/COM_HueSaturationValueCorrectNode.cc +++ b/source/blender/compositor/nodes/COM_HueSaturationValueCorrectNode.cc @@ -26,6 +26,8 @@ #include "COM_SetValueOperation.h" #include "DNA_node_types.h" +namespace blender::compositor { + HueSaturationValueCorrectNode::HueSaturationValueCorrectNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -62,3 +64,5 @@ void HueSaturationValueCorrectNode::convertToOperations( converter.mapInputSocket(valueSocket, blend->getInputSocket(0)); converter.mapOutputSocket(outputSocket, blend->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_HueSaturationValueCorrectNode.h b/source/blender/compositor/nodes/COM_HueSaturationValueCorrectNode.h index e7656d2296c..d75b2ba51ca 100644 --- a/source/blender/compositor/nodes/COM_HueSaturationValueCorrectNode.h +++ b/source/blender/compositor/nodes/COM_HueSaturationValueCorrectNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief HueSaturationValueCorrectNode * \ingroup Node @@ -30,3 +32,5 @@ class HueSaturationValueCorrectNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_HueSaturationValueNode.cc b/source/blender/compositor/nodes/COM_HueSaturationValueNode.cc index dc2e5187e8f..54d2caa75af 100644 --- a/source/blender/compositor/nodes/COM_HueSaturationValueNode.cc +++ b/source/blender/compositor/nodes/COM_HueSaturationValueNode.cc @@ -26,6 +26,8 @@ #include "COM_SetValueOperation.h" #include "DNA_node_types.h" +namespace blender::compositor { + HueSaturationValueNode::HueSaturationValueNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -65,3 +67,5 @@ void HueSaturationValueNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(facSocket, blend->getInputSocket(0)); converter.mapOutputSocket(outputSocket, blend->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_HueSaturationValueNode.h b/source/blender/compositor/nodes/COM_HueSaturationValueNode.h index b35f6ae14b7..0b295158cc7 100644 --- a/source/blender/compositor/nodes/COM_HueSaturationValueNode.h +++ b/source/blender/compositor/nodes/COM_HueSaturationValueNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief HueSaturationValueNode * \ingroup Node @@ -30,3 +32,5 @@ class HueSaturationValueNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_IDMaskNode.cc b/source/blender/compositor/nodes/COM_IDMaskNode.cc index 5ba54d75bcd..9798dabd035 100644 --- a/source/blender/compositor/nodes/COM_IDMaskNode.cc +++ b/source/blender/compositor/nodes/COM_IDMaskNode.cc @@ -21,6 +21,8 @@ #include "COM_ExecutionSystem.h" #include "COM_IDMaskOperation.h" +namespace blender::compositor { + IDMaskNode::IDMaskNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -47,3 +49,5 @@ void IDMaskNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(getOutputSocket(0), antiAliasOperation->getOutputSocket(0)); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_IDMaskNode.h b/source/blender/compositor/nodes/COM_IDMaskNode.h index 2766377e47a..f702732a8ed 100644 --- a/source/blender/compositor/nodes/COM_IDMaskNode.h +++ b/source/blender/compositor/nodes/COM_IDMaskNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief IDMaskNode * \ingroup Node @@ -30,3 +32,5 @@ class IDMaskNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ImageNode.cc b/source/blender/compositor/nodes/COM_ImageNode.cc index 711399ccd63..380773eca64 100644 --- a/source/blender/compositor/nodes/COM_ImageNode.cc +++ b/source/blender/compositor/nodes/COM_ImageNode.cc @@ -29,6 +29,8 @@ #include "COM_SetValueOperation.h" #include "COM_SetVectorOperation.h" +namespace blender::compositor { + ImageNode::ImageNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -297,3 +299,5 @@ void ImageNode::convertToOperations(NodeConverter &converter, } } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ImageNode.h b/source/blender/compositor/nodes/COM_ImageNode.h index 716687c91b4..047cc496f83 100644 --- a/source/blender/compositor/nodes/COM_ImageNode.h +++ b/source/blender/compositor/nodes/COM_ImageNode.h @@ -26,6 +26,8 @@ #include "RE_engine.h" #include "RE_pipeline.h" +namespace blender::compositor { + /** * \brief ImageNode * \ingroup Node @@ -47,3 +49,5 @@ class ImageNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_InpaintNode.cc b/source/blender/compositor/nodes/COM_InpaintNode.cc index 40fe63ec9f3..01ec5523939 100644 --- a/source/blender/compositor/nodes/COM_InpaintNode.cc +++ b/source/blender/compositor/nodes/COM_InpaintNode.cc @@ -22,6 +22,8 @@ #include "COM_InpaintOperation.h" #include "DNA_scene_types.h" +namespace blender::compositor { + InpaintNode::InpaintNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -43,3 +45,5 @@ void InpaintNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_InpaintNode.h b/source/blender/compositor/nodes/COM_InpaintNode.h index 864d8bbd5cd..3a10c11bf61 100644 --- a/source/blender/compositor/nodes/COM_InpaintNode.h +++ b/source/blender/compositor/nodes/COM_InpaintNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief InpaintNode * \ingroup Node @@ -30,3 +32,5 @@ class InpaintNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_InvertNode.cc b/source/blender/compositor/nodes/COM_InvertNode.cc index 913452c42c8..5fe2033227f 100644 --- a/source/blender/compositor/nodes/COM_InvertNode.cc +++ b/source/blender/compositor/nodes/COM_InvertNode.cc @@ -21,6 +21,8 @@ #include "COM_ExecutionSystem.h" #include "COM_InvertOperation.h" +namespace blender::compositor { + InvertNode::InvertNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -39,3 +41,5 @@ void InvertNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(1), operation->getInputSocket(1)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_InvertNode.h b/source/blender/compositor/nodes/COM_InvertNode.h index ab5f80a5e87..1cc975b8236 100644 --- a/source/blender/compositor/nodes/COM_InvertNode.h +++ b/source/blender/compositor/nodes/COM_InvertNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief InvertNode * \ingroup Node @@ -30,3 +32,5 @@ class InvertNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_KeyingNode.cc b/source/blender/compositor/nodes/COM_KeyingNode.cc index 9b493d3f332..2054ed67190 100644 --- a/source/blender/compositor/nodes/COM_KeyingNode.cc +++ b/source/blender/compositor/nodes/COM_KeyingNode.cc @@ -37,6 +37,8 @@ #include "COM_GaussianAlphaXBlurOperation.h" #include "COM_GaussianAlphaYBlurOperation.h" +namespace blender::compositor { + KeyingNode::KeyingNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -348,3 +350,5 @@ void KeyingNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(outputEdges, edgesMatte); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_KeyingNode.h b/source/blender/compositor/nodes/COM_KeyingNode.h index 64eaaf2a537..6d5e3ca1883 100644 --- a/source/blender/compositor/nodes/COM_KeyingNode.h +++ b/source/blender/compositor/nodes/COM_KeyingNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief KeyingNode * \ingroup Node @@ -58,3 +60,5 @@ class KeyingNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_KeyingScreenNode.cc b/source/blender/compositor/nodes/COM_KeyingScreenNode.cc index 93a9a071226..cbe4f165a45 100644 --- a/source/blender/compositor/nodes/COM_KeyingScreenNode.cc +++ b/source/blender/compositor/nodes/COM_KeyingScreenNode.cc @@ -22,6 +22,8 @@ #include "DNA_movieclip_types.h" +namespace blender::compositor { + KeyingScreenNode::KeyingScreenNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -45,3 +47,5 @@ void KeyingScreenNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(outputScreen, operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_KeyingScreenNode.h b/source/blender/compositor/nodes/COM_KeyingScreenNode.h index 2c84b71773e..f2ad3b344f1 100644 --- a/source/blender/compositor/nodes/COM_KeyingScreenNode.h +++ b/source/blender/compositor/nodes/COM_KeyingScreenNode.h @@ -21,6 +21,8 @@ #include "COM_Node.h" #include "DNA_node_types.h" +namespace blender::compositor { + /** * \brief KeyingScreenNode * \ingroup Node @@ -31,3 +33,5 @@ class KeyingScreenNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_LensDistortionNode.cc b/source/blender/compositor/nodes/COM_LensDistortionNode.cc index 34d2fba6433..f5226d31989 100644 --- a/source/blender/compositor/nodes/COM_LensDistortionNode.cc +++ b/source/blender/compositor/nodes/COM_LensDistortionNode.cc @@ -21,6 +21,8 @@ #include "COM_ProjectorLensDistortionOperation.h" #include "COM_ScreenLensDistortionOperation.h" +namespace blender::compositor { + LensDistortionNode::LensDistortionNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -59,3 +61,5 @@ void LensDistortionNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_LensDistortionNode.h b/source/blender/compositor/nodes/COM_LensDistortionNode.h index 866e2ec8884..4de1b0fe4da 100644 --- a/source/blender/compositor/nodes/COM_LensDistortionNode.h +++ b/source/blender/compositor/nodes/COM_LensDistortionNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief LensDistortionNode * \ingroup Node @@ -30,3 +32,5 @@ class LensDistortionNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_LuminanceMatteNode.cc b/source/blender/compositor/nodes/COM_LuminanceMatteNode.cc index 8bfea1eff49..920da53231f 100644 --- a/source/blender/compositor/nodes/COM_LuminanceMatteNode.cc +++ b/source/blender/compositor/nodes/COM_LuminanceMatteNode.cc @@ -22,6 +22,8 @@ #include "COM_LuminanceMatteOperation.h" #include "COM_SetAlphaMultiplyOperation.h" +namespace blender::compositor { + LuminanceMatteNode::LuminanceMatteNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -51,3 +53,5 @@ void LuminanceMatteNode::convertToOperations(NodeConverter &converter, converter.addPreview(operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_LuminanceMatteNode.h b/source/blender/compositor/nodes/COM_LuminanceMatteNode.h index 148a0d302d4..ef4ebc8ad92 100644 --- a/source/blender/compositor/nodes/COM_LuminanceMatteNode.h +++ b/source/blender/compositor/nodes/COM_LuminanceMatteNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief LuminanceMatteNode * \ingroup Node @@ -30,3 +32,5 @@ class LuminanceMatteNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MapRangeNode.cc b/source/blender/compositor/nodes/COM_MapRangeNode.cc index 352bc0dd48d..718a6d9e47b 100644 --- a/source/blender/compositor/nodes/COM_MapRangeNode.cc +++ b/source/blender/compositor/nodes/COM_MapRangeNode.cc @@ -21,6 +21,8 @@ #include "COM_ExecutionSystem.h" #include "COM_MapRangeOperation.h" +namespace blender::compositor { + MapRangeNode::MapRangeNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -47,3 +49,5 @@ void MapRangeNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(destMaxSocket, operation->getInputSocket(4)); converter.mapOutputSocket(outputSocket, operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MapRangeNode.h b/source/blender/compositor/nodes/COM_MapRangeNode.h index 55c7020635a..ad6fd78a7d5 100644 --- a/source/blender/compositor/nodes/COM_MapRangeNode.h +++ b/source/blender/compositor/nodes/COM_MapRangeNode.h @@ -20,6 +20,9 @@ #include "COM_Node.h" #include "DNA_node_types.h" + +namespace blender::compositor { + /** * \brief MapRangeNode * \ingroup Node @@ -30,3 +33,5 @@ class MapRangeNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MapUVNode.cc b/source/blender/compositor/nodes/COM_MapUVNode.cc index feb9c75ec56..4b7a9e8af0f 100644 --- a/source/blender/compositor/nodes/COM_MapUVNode.cc +++ b/source/blender/compositor/nodes/COM_MapUVNode.cc @@ -20,6 +20,8 @@ #include "COM_ExecutionSystem.h" #include "COM_MapUVOperation.h" +namespace blender::compositor { + MapUVNode::MapUVNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -39,3 +41,5 @@ void MapUVNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(1), operation->getInputSocket(1)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MapUVNode.h b/source/blender/compositor/nodes/COM_MapUVNode.h index ff565372d71..f7f4db167ea 100644 --- a/source/blender/compositor/nodes/COM_MapUVNode.h +++ b/source/blender/compositor/nodes/COM_MapUVNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief MapUVNode * \ingroup Node @@ -30,3 +32,5 @@ class MapUVNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MapValueNode.cc b/source/blender/compositor/nodes/COM_MapValueNode.cc index e07df8ad367..ae48bda6cb8 100644 --- a/source/blender/compositor/nodes/COM_MapValueNode.cc +++ b/source/blender/compositor/nodes/COM_MapValueNode.cc @@ -21,6 +21,8 @@ #include "COM_ExecutionSystem.h" #include "COM_MapValueOperation.h" +namespace blender::compositor { + MapValueNode::MapValueNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -41,3 +43,5 @@ void MapValueNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(colorSocket, convertProg->getInputSocket(0)); converter.mapOutputSocket(valueSocket, convertProg->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MapValueNode.h b/source/blender/compositor/nodes/COM_MapValueNode.h index a8a5028a71f..dcac1d6e3c5 100644 --- a/source/blender/compositor/nodes/COM_MapValueNode.h +++ b/source/blender/compositor/nodes/COM_MapValueNode.h @@ -20,6 +20,9 @@ #include "COM_Node.h" #include "DNA_node_types.h" + +namespace blender::compositor { + /** * \brief MapValueNode * \ingroup Node @@ -30,3 +33,5 @@ class MapValueNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MaskNode.cc b/source/blender/compositor/nodes/COM_MaskNode.cc index a6415a3992e..ef171c01653 100644 --- a/source/blender/compositor/nodes/COM_MaskNode.cc +++ b/source/blender/compositor/nodes/COM_MaskNode.cc @@ -22,6 +22,8 @@ #include "DNA_mask_types.h" +namespace blender::compositor { + MaskNode::MaskNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -68,3 +70,5 @@ void MaskNode::convertToOperations(NodeConverter &converter, converter.addOperation(operation); converter.mapOutputSocket(outputMask, operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MaskNode.h b/source/blender/compositor/nodes/COM_MaskNode.h index 3d813fb61f2..5890cf5957a 100644 --- a/source/blender/compositor/nodes/COM_MaskNode.h +++ b/source/blender/compositor/nodes/COM_MaskNode.h @@ -21,6 +21,8 @@ #include "COM_Node.h" #include "DNA_node_types.h" +namespace blender::compositor { + /** * \brief MaskNode * \ingroup Node @@ -31,3 +33,5 @@ class MaskNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MathNode.cc b/source/blender/compositor/nodes/COM_MathNode.cc index 0edf880400f..dd0d8931d58 100644 --- a/source/blender/compositor/nodes/COM_MathNode.cc +++ b/source/blender/compositor/nodes/COM_MathNode.cc @@ -20,6 +20,8 @@ #include "COM_ExecutionSystem.h" #include "COM_MathBaseOperation.h" +namespace blender::compositor { + void MathNode::convertToOperations(NodeConverter &converter, const CompositorContext & /*context*/) const { @@ -159,3 +161,5 @@ void MathNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket()); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MathNode.h b/source/blender/compositor/nodes/COM_MathNode.h index a7036e9fd36..5db59e62bab 100644 --- a/source/blender/compositor/nodes/COM_MathNode.h +++ b/source/blender/compositor/nodes/COM_MathNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief MathNode * \ingroup Node @@ -32,3 +34,5 @@ class MathNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MixNode.cc b/source/blender/compositor/nodes/COM_MixNode.cc index d082590d21b..cfa8d0ee6a6 100644 --- a/source/blender/compositor/nodes/COM_MixNode.cc +++ b/source/blender/compositor/nodes/COM_MixNode.cc @@ -24,6 +24,8 @@ #include "COM_SetValueOperation.h" #include "DNA_material_types.h" /* the ramp types */ +namespace blender::compositor { + MixNode::MixNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -110,3 +112,5 @@ void MixNode::convertToOperations(NodeConverter &converter, converter.addPreview(convertProg->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MixNode.h b/source/blender/compositor/nodes/COM_MixNode.h index 6f4a7a2cb88..81f9c41871e 100644 --- a/source/blender/compositor/nodes/COM_MixNode.h +++ b/source/blender/compositor/nodes/COM_MixNode.h @@ -20,6 +20,9 @@ #include "COM_Node.h" #include "DNA_node_types.h" + +namespace blender::compositor { + /** * \brief MixNode * \ingroup Node @@ -30,3 +33,5 @@ class MixNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MovieClipNode.cc b/source/blender/compositor/nodes/COM_MovieClipNode.cc index 7cc8f2ea19c..50bd9b4d71b 100644 --- a/source/blender/compositor/nodes/COM_MovieClipNode.cc +++ b/source/blender/compositor/nodes/COM_MovieClipNode.cc @@ -29,6 +29,8 @@ #include "IMB_imbuf.h" +namespace blender::compositor { + MovieClipNode::MovieClipNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -106,3 +108,5 @@ void MovieClipNode::convertToOperations(NodeConverter &converter, IMB_freeImBuf(ibuf); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MovieClipNode.h b/source/blender/compositor/nodes/COM_MovieClipNode.h index c46033f944a..a469ce9e2a4 100644 --- a/source/blender/compositor/nodes/COM_MovieClipNode.h +++ b/source/blender/compositor/nodes/COM_MovieClipNode.h @@ -21,6 +21,8 @@ #include "COM_Node.h" #include "DNA_node_types.h" +namespace blender::compositor { + /** * \brief MovieClipNode * \ingroup Node @@ -31,3 +33,5 @@ class MovieClipNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MovieDistortionNode.cc b/source/blender/compositor/nodes/COM_MovieDistortionNode.cc index ebace6d5fff..8f17ef8bb98 100644 --- a/source/blender/compositor/nodes/COM_MovieDistortionNode.cc +++ b/source/blender/compositor/nodes/COM_MovieDistortionNode.cc @@ -22,6 +22,8 @@ #include "COM_MovieDistortionOperation.h" #include "DNA_movieclip_types.h" +namespace blender::compositor { + MovieDistortionNode::MovieDistortionNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -44,3 +46,5 @@ void MovieDistortionNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(inputSocket, operation->getInputSocket(0)); converter.mapOutputSocket(outputSocket, operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_MovieDistortionNode.h b/source/blender/compositor/nodes/COM_MovieDistortionNode.h index 60349be0793..0c1610aa3d3 100644 --- a/source/blender/compositor/nodes/COM_MovieDistortionNode.h +++ b/source/blender/compositor/nodes/COM_MovieDistortionNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief MovieDistortionNode * \ingroup Node @@ -30,3 +32,5 @@ class MovieDistortionNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_NormalNode.cc b/source/blender/compositor/nodes/COM_NormalNode.cc index 1f48a26fd75..5a97b0932ef 100644 --- a/source/blender/compositor/nodes/COM_NormalNode.cc +++ b/source/blender/compositor/nodes/COM_NormalNode.cc @@ -22,6 +22,8 @@ #include "COM_ExecutionSystem.h" #include "COM_SetVectorOperation.h" +namespace blender::compositor { + NormalNode::NormalNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -54,3 +56,5 @@ void NormalNode::convertToOperations(NodeConverter &converter, converter.addLink(operationSet->getOutputSocket(0), operation->getInputSocket(1)); converter.mapOutputSocket(outputSocketDotproduct, operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_NormalNode.h b/source/blender/compositor/nodes/COM_NormalNode.h index 9b32e57a141..6d5cbb394a0 100644 --- a/source/blender/compositor/nodes/COM_NormalNode.h +++ b/source/blender/compositor/nodes/COM_NormalNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief NormalNode * \ingroup Node @@ -30,3 +32,5 @@ class NormalNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_NormalizeNode.cc b/source/blender/compositor/nodes/COM_NormalizeNode.cc index 72459fd477c..639dd8e5a51 100644 --- a/source/blender/compositor/nodes/COM_NormalizeNode.cc +++ b/source/blender/compositor/nodes/COM_NormalizeNode.cc @@ -20,6 +20,8 @@ #include "COM_ExecutionSystem.h" #include "COM_NormalizeOperation.h" +namespace blender::compositor { + NormalizeNode::NormalizeNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -34,3 +36,5 @@ void NormalizeNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(0), operation->getInputSocket(0)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_NormalizeNode.h b/source/blender/compositor/nodes/COM_NormalizeNode.h index bf8055245e7..7770fc49b61 100644 --- a/source/blender/compositor/nodes/COM_NormalizeNode.h +++ b/source/blender/compositor/nodes/COM_NormalizeNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief NormalizeNode * \ingroup Node @@ -30,3 +32,5 @@ class NormalizeNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_OutputFileNode.cc b/source/blender/compositor/nodes/COM_OutputFileNode.cc index dcc1fbdec67..e6b1aedde07 100644 --- a/source/blender/compositor/nodes/COM_OutputFileNode.cc +++ b/source/blender/compositor/nodes/COM_OutputFileNode.cc @@ -25,6 +25,8 @@ #include "BLI_path_util.h" +namespace blender::compositor { + OutputFileNode::OutputFileNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -151,3 +153,5 @@ void OutputFileNode::convertToOperations(NodeConverter &converter, } } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_OutputFileNode.h b/source/blender/compositor/nodes/COM_OutputFileNode.h index 2b37a1ae252..d1826797c6e 100644 --- a/source/blender/compositor/nodes/COM_OutputFileNode.h +++ b/source/blender/compositor/nodes/COM_OutputFileNode.h @@ -21,6 +21,8 @@ #include "COM_Node.h" #include "DNA_node_types.h" +namespace blender::compositor { + /** * \brief OutputFileNode * \ingroup Node @@ -31,3 +33,5 @@ class OutputFileNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_PixelateNode.cc b/source/blender/compositor/nodes/COM_PixelateNode.cc index f238f68727e..396f339e5a2 100644 --- a/source/blender/compositor/nodes/COM_PixelateNode.cc +++ b/source/blender/compositor/nodes/COM_PixelateNode.cc @@ -21,6 +21,8 @@ #include "COM_ExecutionSystem.h" #include "COM_PixelateOperation.h" +namespace blender::compositor { + PixelateNode::PixelateNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -44,3 +46,5 @@ void PixelateNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(inputSocket, operation->getInputSocket(0)); converter.mapOutputSocket(outputSocket, operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_PixelateNode.h b/source/blender/compositor/nodes/COM_PixelateNode.h index 19ae352ce80..1a6555550cf 100644 --- a/source/blender/compositor/nodes/COM_PixelateNode.h +++ b/source/blender/compositor/nodes/COM_PixelateNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief PixelateNode * \ingroup Node @@ -30,3 +32,5 @@ class PixelateNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_PlaneTrackDeformNode.cc b/source/blender/compositor/nodes/COM_PlaneTrackDeformNode.cc index 6b9b51631ec..54a0f4d0452 100644 --- a/source/blender/compositor/nodes/COM_PlaneTrackDeformNode.cc +++ b/source/blender/compositor/nodes/COM_PlaneTrackDeformNode.cc @@ -25,6 +25,8 @@ #include "BKE_node.h" #include "BKE_tracking.h" +namespace blender::compositor { + PlaneTrackDeformNode::PlaneTrackDeformNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -70,3 +72,5 @@ void PlaneTrackDeformNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(output_plane, plane_mask_operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_PlaneTrackDeformNode.h b/source/blender/compositor/nodes/COM_PlaneTrackDeformNode.h index 29347ec79c4..307738fcaf0 100644 --- a/source/blender/compositor/nodes/COM_PlaneTrackDeformNode.h +++ b/source/blender/compositor/nodes/COM_PlaneTrackDeformNode.h @@ -23,6 +23,8 @@ #include "DNA_movieclip_types.h" #include "DNA_node_types.h" +namespace blender::compositor { + /** * \brief PlaneTrackDeformNode * \ingroup Node @@ -33,3 +35,5 @@ class PlaneTrackDeformNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_RenderLayersNode.cc b/source/blender/compositor/nodes/COM_RenderLayersNode.cc index ea3eeb13393..eead775b192 100644 --- a/source/blender/compositor/nodes/COM_RenderLayersNode.cc +++ b/source/blender/compositor/nodes/COM_RenderLayersNode.cc @@ -25,6 +25,8 @@ #include "COM_SetVectorOperation.h" #include "COM_TranslateOperation.h" +namespace blender::compositor { + RenderLayersNode::RenderLayersNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -174,3 +176,5 @@ void RenderLayersNode::convertToOperations(NodeConverter &converter, missingRenderLink(converter); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_RenderLayersNode.h b/source/blender/compositor/nodes/COM_RenderLayersNode.h index 92be0f7daa1..4eb2427c8e0 100644 --- a/source/blender/compositor/nodes/COM_RenderLayersNode.h +++ b/source/blender/compositor/nodes/COM_RenderLayersNode.h @@ -23,6 +23,7 @@ #include "DNA_node_types.h" struct Render; +namespace blender::compositor { /** * \brief RenderLayersNode @@ -49,3 +50,5 @@ class RenderLayersNode : public Node { void missingSocketLink(NodeConverter &converter, NodeOutput *output) const; void missingRenderLink(NodeConverter &converter) const; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_RotateNode.cc b/source/blender/compositor/nodes/COM_RotateNode.cc index cbade778bcb..af5baa733dc 100644 --- a/source/blender/compositor/nodes/COM_RotateNode.cc +++ b/source/blender/compositor/nodes/COM_RotateNode.cc @@ -22,6 +22,8 @@ #include "COM_RotateOperation.h" #include "COM_SetSamplerOperation.h" +namespace blender::compositor { + RotateNode::RotateNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -45,3 +47,5 @@ void RotateNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(inputDegreeSocket, operation->getInputSocket(1)); converter.mapOutputSocket(outputSocket, operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_RotateNode.h b/source/blender/compositor/nodes/COM_RotateNode.h index 0f3b6497cb7..5d8bcb2e3e4 100644 --- a/source/blender/compositor/nodes/COM_RotateNode.h +++ b/source/blender/compositor/nodes/COM_RotateNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief RotateNode * \ingroup Node @@ -30,3 +32,5 @@ class RotateNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ScaleNode.cc b/source/blender/compositor/nodes/COM_ScaleNode.cc index f164e1cf19e..50d2902f375 100644 --- a/source/blender/compositor/nodes/COM_ScaleNode.cc +++ b/source/blender/compositor/nodes/COM_ScaleNode.cc @@ -24,6 +24,8 @@ #include "COM_SetSamplerOperation.h" #include "COM_SetValueOperation.h" +namespace blender::compositor { + ScaleNode::ScaleNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -105,3 +107,5 @@ void ScaleNode::convertToOperations(NodeConverter &converter, } } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ScaleNode.h b/source/blender/compositor/nodes/COM_ScaleNode.h index 5babec2b7aa..186ffa8bdce 100644 --- a/source/blender/compositor/nodes/COM_ScaleNode.h +++ b/source/blender/compositor/nodes/COM_ScaleNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ScaleNode * \ingroup Node @@ -30,3 +32,5 @@ class ScaleNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SeparateColorNode.cc b/source/blender/compositor/nodes/COM_SeparateColorNode.cc index 203aa25c9e9..fcaf52c701d 100644 --- a/source/blender/compositor/nodes/COM_SeparateColorNode.cc +++ b/source/blender/compositor/nodes/COM_SeparateColorNode.cc @@ -20,6 +20,8 @@ #include "COM_ConvertOperation.h" +namespace blender::compositor { + SeparateColorNode::SeparateColorNode(bNode *editorNode) : Node(editorNode) { } @@ -119,3 +121,5 @@ NodeOperation *SeparateYUVANode::getColorConverter(const CompositorContext & /*c { return new ConvertRGBToYUVOperation(); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SeparateColorNode.h b/source/blender/compositor/nodes/COM_SeparateColorNode.h index 4772c62f93c..eaf543df51f 100644 --- a/source/blender/compositor/nodes/COM_SeparateColorNode.h +++ b/source/blender/compositor/nodes/COM_SeparateColorNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + class SeparateColorNode : public Node { public: SeparateColorNode(bNode *editorNode); @@ -65,3 +67,5 @@ class SeparateYUVANode : public SeparateColorNode { NodeOperation *getColorConverter(const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SetAlphaNode.cc b/source/blender/compositor/nodes/COM_SetAlphaNode.cc index 233a5e96ff4..dc41c126ba8 100644 --- a/source/blender/compositor/nodes/COM_SetAlphaNode.cc +++ b/source/blender/compositor/nodes/COM_SetAlphaNode.cc @@ -21,6 +21,8 @@ #include "COM_SetAlphaMultiplyOperation.h" #include "COM_SetAlphaReplaceOperation.h" +namespace blender::compositor { + void SetAlphaNode::convertToOperations(NodeConverter &converter, const CompositorContext & /*context*/) const { @@ -46,3 +48,5 @@ void SetAlphaNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(1), operation->getInputSocket(1)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SetAlphaNode.h b/source/blender/compositor/nodes/COM_SetAlphaNode.h index 06dd93012ff..c8d340eb64b 100644 --- a/source/blender/compositor/nodes/COM_SetAlphaNode.h +++ b/source/blender/compositor/nodes/COM_SetAlphaNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief SetAlphaNode * \ingroup Node @@ -32,3 +34,5 @@ class SetAlphaNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SocketProxyNode.cc b/source/blender/compositor/nodes/COM_SocketProxyNode.cc index 93d8d399cad..b3aa1770551 100644 --- a/source/blender/compositor/nodes/COM_SocketProxyNode.cc +++ b/source/blender/compositor/nodes/COM_SocketProxyNode.cc @@ -25,6 +25,8 @@ #include "COM_SocketProxyOperation.h" #include "COM_WriteBufferOperation.h" +namespace blender::compositor { + SocketProxyNode::SocketProxyNode(bNode *editorNode, bNodeSocket *editorInput, bNodeSocket *editorOutput, @@ -101,3 +103,5 @@ void SocketBufferNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(input, writeOperation->getInputSocket(0)); converter.mapOutputSocket(output, readOperation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SocketProxyNode.h b/source/blender/compositor/nodes/COM_SocketProxyNode.h index 8616fe6dccf..d19fb802767 100644 --- a/source/blender/compositor/nodes/COM_SocketProxyNode.h +++ b/source/blender/compositor/nodes/COM_SocketProxyNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief SocketProxyNode * \ingroup Node @@ -53,3 +55,5 @@ class SocketBufferNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SplitViewerNode.cc b/source/blender/compositor/nodes/COM_SplitViewerNode.cc index 681adeaf1d3..582c650f205 100644 --- a/source/blender/compositor/nodes/COM_SplitViewerNode.cc +++ b/source/blender/compositor/nodes/COM_SplitViewerNode.cc @@ -25,6 +25,8 @@ #include "COM_SplitOperation.h" #include "COM_ViewerOperation.h" +namespace blender::compositor { + SplitViewerNode::SplitViewerNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -73,3 +75,5 @@ void SplitViewerNode::convertToOperations(NodeConverter &converter, converter.registerViewer(viewerOperation); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SplitViewerNode.h b/source/blender/compositor/nodes/COM_SplitViewerNode.h index 0be586041e9..8a42775eb0d 100644 --- a/source/blender/compositor/nodes/COM_SplitViewerNode.h +++ b/source/blender/compositor/nodes/COM_SplitViewerNode.h @@ -20,6 +20,9 @@ #include "COM_Node.h" #include "DNA_node_types.h" + +namespace blender::compositor { + /** * \brief SplitViewerNode * \ingroup Node @@ -30,3 +33,5 @@ class SplitViewerNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_Stabilize2dNode.cc b/source/blender/compositor/nodes/COM_Stabilize2dNode.cc index 38db080a154..fc72b48eca2 100644 --- a/source/blender/compositor/nodes/COM_Stabilize2dNode.cc +++ b/source/blender/compositor/nodes/COM_Stabilize2dNode.cc @@ -28,6 +28,8 @@ #include "DNA_movieclip_types.h" +namespace blender::compositor { + Stabilize2dNode::Stabilize2dNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -111,3 +113,5 @@ void Stabilize2dNode::convertToOperations(NodeConverter &converter, converter.addLink(translateOperation->getOutputSocket(), psoperation->getInputSocket(0)); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_Stabilize2dNode.h b/source/blender/compositor/nodes/COM_Stabilize2dNode.h index 2c7cfafb297..34ed8871e33 100644 --- a/source/blender/compositor/nodes/COM_Stabilize2dNode.h +++ b/source/blender/compositor/nodes/COM_Stabilize2dNode.h @@ -21,6 +21,8 @@ #include "COM_Node.h" #include "DNA_node_types.h" +namespace blender::compositor { + /** * \brief Stabilize2dNode * \ingroup Node @@ -31,3 +33,5 @@ class Stabilize2dNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SunBeamsNode.cc b/source/blender/compositor/nodes/COM_SunBeamsNode.cc index d899a54c03c..1e5aa0b8020 100644 --- a/source/blender/compositor/nodes/COM_SunBeamsNode.cc +++ b/source/blender/compositor/nodes/COM_SunBeamsNode.cc @@ -18,6 +18,8 @@ #include "COM_SunBeamsNode.h" #include "COM_SunBeamsOperation.h" +namespace blender::compositor { + SunBeamsNode::SunBeamsNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -37,3 +39,5 @@ void SunBeamsNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(inputSocket, operation->getInputSocket(0)); converter.mapOutputSocket(outputSocket, operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SunBeamsNode.h b/source/blender/compositor/nodes/COM_SunBeamsNode.h index 8b02f13211f..8b68d3f4cb5 100644 --- a/source/blender/compositor/nodes/COM_SunBeamsNode.h +++ b/source/blender/compositor/nodes/COM_SunBeamsNode.h @@ -19,6 +19,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief SunBeamsNode * \ingroup Node @@ -29,3 +31,5 @@ class SunBeamsNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SwitchNode.cc b/source/blender/compositor/nodes/COM_SwitchNode.cc index 947774e98ae..4006d10dafb 100644 --- a/source/blender/compositor/nodes/COM_SwitchNode.cc +++ b/source/blender/compositor/nodes/COM_SwitchNode.cc @@ -18,6 +18,8 @@ #include "COM_SwitchNode.h" +namespace blender::compositor { + SwitchNode::SwitchNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -38,3 +40,5 @@ void SwitchNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(getOutputSocket(0), result); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SwitchNode.h b/source/blender/compositor/nodes/COM_SwitchNode.h index c8ee503154c..aa6caa2e59f 100644 --- a/source/blender/compositor/nodes/COM_SwitchNode.h +++ b/source/blender/compositor/nodes/COM_SwitchNode.h @@ -21,6 +21,9 @@ #include "COM_Node.h" #include "COM_NodeOperation.h" #include "DNA_node_types.h" + +namespace blender::compositor { + /** * \brief SwitchNode * \ingroup Node @@ -31,3 +34,5 @@ class SwitchNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SwitchViewNode.cc b/source/blender/compositor/nodes/COM_SwitchViewNode.cc index e534ebfac9a..395122dd11b 100644 --- a/source/blender/compositor/nodes/COM_SwitchViewNode.cc +++ b/source/blender/compositor/nodes/COM_SwitchViewNode.cc @@ -19,6 +19,8 @@ #include "COM_SwitchViewNode.h" #include "BLI_listbase.h" +namespace blender::compositor { + SwitchViewNode::SwitchViewNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -38,3 +40,5 @@ void SwitchViewNode::convertToOperations(NodeConverter &converter, result = converter.addInputProxy(getInputSocket(nr), false); converter.mapOutputSocket(getOutputSocket(0), result); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_SwitchViewNode.h b/source/blender/compositor/nodes/COM_SwitchViewNode.h index 419fd1b7463..ce6de52182c 100644 --- a/source/blender/compositor/nodes/COM_SwitchViewNode.h +++ b/source/blender/compositor/nodes/COM_SwitchViewNode.h @@ -21,6 +21,9 @@ #include "COM_Node.h" #include "COM_NodeOperation.h" #include "DNA_node_types.h" + +namespace blender::compositor { + /** * \brief SwitchViewNode * \ingroup Node @@ -31,3 +34,5 @@ class SwitchViewNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TextureNode.cc b/source/blender/compositor/nodes/COM_TextureNode.cc index 3381b5098d7..317355b8c9a 100644 --- a/source/blender/compositor/nodes/COM_TextureNode.cc +++ b/source/blender/compositor/nodes/COM_TextureNode.cc @@ -20,6 +20,8 @@ #include "COM_ExecutionSystem.h" #include "COM_TextureOperation.h" +namespace blender::compositor { + TextureNode::TextureNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -54,3 +56,5 @@ void TextureNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(1), alphaOperation->getInputSocket(1)); converter.mapOutputSocket(getOutputSocket(0), alphaOperation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TextureNode.h b/source/blender/compositor/nodes/COM_TextureNode.h index 5a9a56b748d..b886e3b74e1 100644 --- a/source/blender/compositor/nodes/COM_TextureNode.h +++ b/source/blender/compositor/nodes/COM_TextureNode.h @@ -21,6 +21,8 @@ #include "COM_Node.h" #include "DNA_node_types.h" +namespace blender::compositor { + /** * \brief TextureNode * \ingroup Node @@ -31,3 +33,5 @@ class TextureNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TimeNode.cc b/source/blender/compositor/nodes/COM_TimeNode.cc index 247e0d11df6..c14c5344eee 100644 --- a/source/blender/compositor/nodes/COM_TimeNode.cc +++ b/source/blender/compositor/nodes/COM_TimeNode.cc @@ -24,6 +24,8 @@ #include "BLI_utildefines.h" +namespace blender::compositor { + TimeNode::TimeNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -56,3 +58,5 @@ void TimeNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TimeNode.h b/source/blender/compositor/nodes/COM_TimeNode.h index 0f2b624fd1f..5688e2cff03 100644 --- a/source/blender/compositor/nodes/COM_TimeNode.h +++ b/source/blender/compositor/nodes/COM_TimeNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief TimeNode * \ingroup Node @@ -30,3 +32,5 @@ class TimeNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TonemapNode.cc b/source/blender/compositor/nodes/COM_TonemapNode.cc index db329e56f9b..844fe3e8cb6 100644 --- a/source/blender/compositor/nodes/COM_TonemapNode.cc +++ b/source/blender/compositor/nodes/COM_TonemapNode.cc @@ -20,6 +20,8 @@ #include "COM_ExecutionSystem.h" #include "COM_TonemapOperation.h" +namespace blender::compositor { + TonemapNode::TonemapNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -38,3 +40,5 @@ void TonemapNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(0), operation->getInputSocket(0)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket(0)); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TonemapNode.h b/source/blender/compositor/nodes/COM_TonemapNode.h index db7ae5fa290..cac9004c32a 100644 --- a/source/blender/compositor/nodes/COM_TonemapNode.h +++ b/source/blender/compositor/nodes/COM_TonemapNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief TonemapNode * \ingroup Node @@ -30,3 +32,5 @@ class TonemapNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TrackPositionNode.cc b/source/blender/compositor/nodes/COM_TrackPositionNode.cc index 52e7f7d832b..3fb5fc02f20 100644 --- a/source/blender/compositor/nodes/COM_TrackPositionNode.cc +++ b/source/blender/compositor/nodes/COM_TrackPositionNode.cc @@ -26,6 +26,8 @@ #include "BKE_node.h" +namespace blender::compositor { + TrackPositionNode::TrackPositionNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -109,3 +111,5 @@ void TrackPositionNode::convertToOperations(NodeConverter &converter, converter.addLink(operationMotionPostY->getOutputSocket(), combine_operation->getInputSocket(3)); converter.mapOutputSocket(outputSpeed, combine_operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TrackPositionNode.h b/source/blender/compositor/nodes/COM_TrackPositionNode.h index f2062828ca5..665ba36fe09 100644 --- a/source/blender/compositor/nodes/COM_TrackPositionNode.h +++ b/source/blender/compositor/nodes/COM_TrackPositionNode.h @@ -21,6 +21,8 @@ #include "COM_Node.h" #include "DNA_node_types.h" +namespace blender::compositor { + /** * \brief TrackPositionNode * \ingroup Node @@ -31,3 +33,5 @@ class TrackPositionNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TransformNode.cc b/source/blender/compositor/nodes/COM_TransformNode.cc index cd5ba8ba201..cd12939ab43 100644 --- a/source/blender/compositor/nodes/COM_TransformNode.cc +++ b/source/blender/compositor/nodes/COM_TransformNode.cc @@ -24,6 +24,8 @@ #include "COM_SetValueOperation.h" #include "COM_TranslateOperation.h" +namespace blender::compositor { + TransformNode::TransformNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -66,3 +68,5 @@ void TransformNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(getOutputSocket(), translateOperation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TransformNode.h b/source/blender/compositor/nodes/COM_TransformNode.h index 56d05cd4c94..137e162256d 100644 --- a/source/blender/compositor/nodes/COM_TransformNode.h +++ b/source/blender/compositor/nodes/COM_TransformNode.h @@ -21,6 +21,8 @@ #include "COM_Node.h" #include "DNA_node_types.h" +namespace blender::compositor { + /** * \brief TransformNode * \ingroup Node @@ -31,3 +33,5 @@ class TransformNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TranslateNode.cc b/source/blender/compositor/nodes/COM_TranslateNode.cc index 13a73953ea0..922393f006a 100644 --- a/source/blender/compositor/nodes/COM_TranslateNode.cc +++ b/source/blender/compositor/nodes/COM_TranslateNode.cc @@ -23,6 +23,8 @@ #include "COM_WrapOperation.h" #include "COM_WriteBufferOperation.h" +namespace blender::compositor { + TranslateNode::TranslateNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -69,3 +71,5 @@ void TranslateNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(inputSocket, operation->getInputSocket(0)); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_TranslateNode.h b/source/blender/compositor/nodes/COM_TranslateNode.h index e6fd230572c..0cea234bff8 100644 --- a/source/blender/compositor/nodes/COM_TranslateNode.h +++ b/source/blender/compositor/nodes/COM_TranslateNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief TranslateNode * \ingroup Node @@ -30,3 +32,5 @@ class TranslateNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ValueNode.cc b/source/blender/compositor/nodes/COM_ValueNode.cc index 4227db0d10e..6b640fa2a3a 100644 --- a/source/blender/compositor/nodes/COM_ValueNode.cc +++ b/source/blender/compositor/nodes/COM_ValueNode.cc @@ -20,6 +20,8 @@ #include "COM_ExecutionSystem.h" #include "COM_SetValueOperation.h" +namespace blender::compositor { + ValueNode::ValueNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -35,3 +37,5 @@ void ValueNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(output, operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ValueNode.h b/source/blender/compositor/nodes/COM_ValueNode.h index 18162b7d4b8..1401b2c7e0a 100644 --- a/source/blender/compositor/nodes/COM_ValueNode.h +++ b/source/blender/compositor/nodes/COM_ValueNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ValueNode * \ingroup Node @@ -30,3 +32,5 @@ class ValueNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_VectorBlurNode.cc b/source/blender/compositor/nodes/COM_VectorBlurNode.cc index a92991c8b49..7aa5f5668c9 100644 --- a/source/blender/compositor/nodes/COM_VectorBlurNode.cc +++ b/source/blender/compositor/nodes/COM_VectorBlurNode.cc @@ -20,6 +20,8 @@ #include "COM_VectorBlurOperation.h" #include "DNA_node_types.h" +namespace blender::compositor { + VectorBlurNode::VectorBlurNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -41,3 +43,5 @@ void VectorBlurNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(2), operation->getInputSocket(2)); converter.mapOutputSocket(getOutputSocket(), operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_VectorBlurNode.h b/source/blender/compositor/nodes/COM_VectorBlurNode.h index 2a55ca4457d..8c98a0b81a1 100644 --- a/source/blender/compositor/nodes/COM_VectorBlurNode.h +++ b/source/blender/compositor/nodes/COM_VectorBlurNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief VectorBlurNode * \ingroup Node @@ -30,3 +32,5 @@ class VectorBlurNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_VectorCurveNode.cc b/source/blender/compositor/nodes/COM_VectorCurveNode.cc index 1201a9f9613..f2fd80cd93e 100644 --- a/source/blender/compositor/nodes/COM_VectorCurveNode.cc +++ b/source/blender/compositor/nodes/COM_VectorCurveNode.cc @@ -20,6 +20,8 @@ #include "COM_ExecutionSystem.h" #include "COM_VectorCurveOperation.h" +namespace blender::compositor { + VectorCurveNode::VectorCurveNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -35,3 +37,5 @@ void VectorCurveNode::convertToOperations(NodeConverter &converter, converter.mapInputSocket(getInputSocket(0), operation->getInputSocket(0)); converter.mapOutputSocket(getOutputSocket(0), operation->getOutputSocket()); } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_VectorCurveNode.h b/source/blender/compositor/nodes/COM_VectorCurveNode.h index 4e84b7454d9..ee4df5d3a42 100644 --- a/source/blender/compositor/nodes/COM_VectorCurveNode.h +++ b/source/blender/compositor/nodes/COM_VectorCurveNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief VectorCurveNode * \ingroup Node @@ -30,3 +32,5 @@ class VectorCurveNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ViewLevelsNode.cc b/source/blender/compositor/nodes/COM_ViewLevelsNode.cc index 7b86fb1d64d..dc454b95080 100644 --- a/source/blender/compositor/nodes/COM_ViewLevelsNode.cc +++ b/source/blender/compositor/nodes/COM_ViewLevelsNode.cc @@ -22,6 +22,8 @@ #include "COM_ExecutionSystem.h" #include "COM_SetValueOperation.h" +namespace blender::compositor { + ViewLevelsNode::ViewLevelsNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -59,3 +61,5 @@ void ViewLevelsNode::convertToOperations(NodeConverter &converter, converter.addOutputValue(getOutputSocket(1), 0.0f); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ViewLevelsNode.h b/source/blender/compositor/nodes/COM_ViewLevelsNode.h index 20dbe967286..055d871498e 100644 --- a/source/blender/compositor/nodes/COM_ViewLevelsNode.h +++ b/source/blender/compositor/nodes/COM_ViewLevelsNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ViewLevelsNode * \ingroup Node @@ -30,3 +32,5 @@ class ViewLevelsNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ViewerNode.cc b/source/blender/compositor/nodes/COM_ViewerNode.cc index 359c3d3031d..3833a8d7ca8 100644 --- a/source/blender/compositor/nodes/COM_ViewerNode.cc +++ b/source/blender/compositor/nodes/COM_ViewerNode.cc @@ -25,6 +25,8 @@ #include "COM_ExecutionSystem.h" #include "COM_ViewerOperation.h" +namespace blender::compositor { + ViewerNode::ViewerNode(bNode *editorNode) : Node(editorNode) { /* pass */ @@ -82,3 +84,5 @@ void ViewerNode::convertToOperations(NodeConverter &converter, converter.registerViewer(viewerOperation); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ViewerNode.h b/source/blender/compositor/nodes/COM_ViewerNode.h index 0e13f165794..544a5e6a504 100644 --- a/source/blender/compositor/nodes/COM_ViewerNode.h +++ b/source/blender/compositor/nodes/COM_ViewerNode.h @@ -20,6 +20,9 @@ #include "COM_Node.h" #include "DNA_node_types.h" + +namespace blender::compositor { + /** * \brief ViewerNode * \ingroup Node @@ -30,3 +33,5 @@ class ViewerNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ZCombineNode.cc b/source/blender/compositor/nodes/COM_ZCombineNode.cc index b61c018d029..a76049ff249 100644 --- a/source/blender/compositor/nodes/COM_ZCombineNode.cc +++ b/source/blender/compositor/nodes/COM_ZCombineNode.cc @@ -28,6 +28,8 @@ #include "DNA_material_types.h" /* the ramp types */ +namespace blender::compositor { + void ZCombineNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const { @@ -99,3 +101,5 @@ void ZCombineNode::convertToOperations(NodeConverter &converter, converter.mapOutputSocket(getOutputSocket(1), zoperation->getOutputSocket()); } } + +} // namespace blender::compositor diff --git a/source/blender/compositor/nodes/COM_ZCombineNode.h b/source/blender/compositor/nodes/COM_ZCombineNode.h index aa8bd979691..82f2f30fb3c 100644 --- a/source/blender/compositor/nodes/COM_ZCombineNode.h +++ b/source/blender/compositor/nodes/COM_ZCombineNode.h @@ -20,6 +20,8 @@ #include "COM_Node.h" +namespace blender::compositor { + /** * \brief ZCombineNode * \ingroup Node @@ -32,3 +34,5 @@ class ZCombineNode : public Node { void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override; }; + +} // namespace blender::compositor |