Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/intern/COM_Converter.cc
| Show All 35 Lines | |||||
| #include "COM_ChannelMatteNode.h" | #include "COM_ChannelMatteNode.h" | ||||
| #include "COM_ChromaMatteNode.h" | #include "COM_ChromaMatteNode.h" | ||||
| #include "COM_ColorBalanceNode.h" | #include "COM_ColorBalanceNode.h" | ||||
| #include "COM_ColorCorrectionNode.h" | #include "COM_ColorCorrectionNode.h" | ||||
| #include "COM_ColorCurveNode.h" | #include "COM_ColorCurveNode.h" | ||||
| #include "COM_ColorExposureNode.h" | #include "COM_ColorExposureNode.h" | ||||
| #include "COM_ColorMatteNode.h" | #include "COM_ColorMatteNode.h" | ||||
| #include "COM_ColorNode.h" | #include "COM_ColorNode.h" | ||||
| #include "COM_PosterizeNode.h" | |||||
| #include "COM_ColorRampNode.h" | #include "COM_ColorRampNode.h" | ||||
| #include "COM_ColorSpillNode.h" | #include "COM_ColorSpillNode.h" | ||||
| #include "COM_ColorToBWNode.h" | #include "COM_ColorToBWNode.h" | ||||
| #include "COM_CombineColorNode.h" | #include "COM_CombineColorNode.h" | ||||
| #include "COM_CompositorNode.h" | #include "COM_CompositorNode.h" | ||||
| #include "COM_ConvertAlphaNode.h" | #include "COM_ConvertAlphaNode.h" | ||||
| #include "COM_ConvertOperation.h" | #include "COM_ConvertOperation.h" | ||||
| #include "COM_Converter.h" | #include "COM_Converter.h" | ||||
| ▲ Show 20 Lines • Show All 367 Lines • ▼ Show 20 Lines | case CMP_NODE_DENOISE: | ||||
| node = new DenoiseNode(b_node); | node = new DenoiseNode(b_node); | ||||
| break; | break; | ||||
| case CMP_NODE_EXPOSURE: | case CMP_NODE_EXPOSURE: | ||||
| node = new ExposureNode(b_node); | node = new ExposureNode(b_node); | ||||
| break; | break; | ||||
| case CMP_NODE_ANTIALIASING: | case CMP_NODE_ANTIALIASING: | ||||
| node = new AntiAliasingNode(b_node); | node = new AntiAliasingNode(b_node); | ||||
| break; | break; | ||||
| case CMP_NODE_POSTERIZE: | |||||
| node = new PosterizeNode(b_node); | |||||
| break; | |||||
| } | } | ||||
| return node; | return node; | ||||
| } | } | ||||
| /* TODO(jbakker): make this an std::optional<NodeOperation>. */ | /* TODO(jbakker): make this an std::optional<NodeOperation>. */ | ||||
| NodeOperation *COM_convert_data_type(const NodeOperationOutput &from, const NodeOperationInput &to) | NodeOperation *COM_convert_data_type(const NodeOperationOutput &from, const NodeOperationInput &to) | ||||
| { | { | ||||
| const DataType src_data_type = from.getDataType(); | const DataType src_data_type = from.getDataType(); | ||||
| ▲ Show 20 Lines • Show All 142 Lines • Show Last 20 Lines | |||||