Cleanup: Clang-Tidy, readability-redundant-member-init
This commit is contained in:
@@ -15,7 +15,6 @@ Checks: >
|
||||
|
||||
-readability-misleading-indentation,
|
||||
|
||||
-readability-redundant-member-init,
|
||||
-readability-use-anyofallof,
|
||||
|
||||
-readability-function-cognitive-complexity,
|
||||
|
||||
@@ -2637,8 +2637,7 @@ struct SubdivideTrisData {
|
||||
tm(tm),
|
||||
itt_map(itt_map),
|
||||
overlap(overlap),
|
||||
arena(arena),
|
||||
overlap_tri_range{}
|
||||
arena(arena)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_CPUDevice.h"
|
||||
|
||||
CPUDevice::CPUDevice(int thread_id) : Device(), m_thread_id(thread_id)
|
||||
CPUDevice::CPUDevice(int thread_id) : m_thread_id(thread_id)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_SingleThreadedOperation.h"
|
||||
|
||||
SingleThreadedOperation::SingleThreadedOperation() : NodeOperation()
|
||||
SingleThreadedOperation::SingleThreadedOperation()
|
||||
{
|
||||
this->m_cachedInstance = NULL;
|
||||
setComplex(true);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_AlphaOverKeyOperation.h"
|
||||
|
||||
AlphaOverKeyOperation::AlphaOverKeyOperation() : MixBaseOperation()
|
||||
AlphaOverKeyOperation::AlphaOverKeyOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_AlphaOverMixedOperation.h"
|
||||
|
||||
AlphaOverMixedOperation::AlphaOverMixedOperation() : MixBaseOperation()
|
||||
AlphaOverMixedOperation::AlphaOverMixedOperation()
|
||||
{
|
||||
this->m_x = 0.0f;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_AlphaOverPremultiplyOperation.h"
|
||||
|
||||
AlphaOverPremultiplyOperation::AlphaOverPremultiplyOperation() : MixBaseOperation()
|
||||
AlphaOverPremultiplyOperation::AlphaOverPremultiplyOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ static int extrapolate9(float *E0,
|
||||
#undef PCPY
|
||||
}
|
||||
|
||||
AntiAliasOperation::AntiAliasOperation() : NodeOperation()
|
||||
AntiAliasOperation::AntiAliasOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "RE_pipeline.h"
|
||||
|
||||
BilateralBlurOperation::BilateralBlurOperation() : NodeOperation()
|
||||
BilateralBlurOperation::BilateralBlurOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "RE_pipeline.h"
|
||||
|
||||
BlurBaseOperation::BlurBaseOperation(DataType data_type) : NodeOperation()
|
||||
BlurBaseOperation::BlurBaseOperation(DataType data_type)
|
||||
{
|
||||
/* data_type is almost always COM_DT_COLOR except for alpha-blur */
|
||||
this->addInputSocket(data_type);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "RE_pipeline.h"
|
||||
|
||||
BokehBlurOperation::BokehBlurOperation() : NodeOperation()
|
||||
BokehBlurOperation::BokehBlurOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_BokehImageOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
BokehImageOperation::BokehImageOperation() : NodeOperation()
|
||||
BokehImageOperation::BokehImageOperation()
|
||||
{
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
this->m_deleteData = false;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "BLI_math.h"
|
||||
#include "DNA_node_types.h"
|
||||
|
||||
BoxMaskOperation::BoxMaskOperation() : NodeOperation()
|
||||
BoxMaskOperation::BoxMaskOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_BrightnessOperation.h"
|
||||
|
||||
BrightnessOperation::BrightnessOperation() : NodeOperation()
|
||||
BrightnessOperation::BrightnessOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
|
||||
CalculateMeanOperation::CalculateMeanOperation() : NodeOperation()
|
||||
CalculateMeanOperation::CalculateMeanOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include "IMB_colormanagement.h"
|
||||
|
||||
CalculateStandardDeviationOperation::CalculateStandardDeviationOperation()
|
||||
: CalculateMeanOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_ChangeHSVOperation.h"
|
||||
|
||||
ChangeHSVOperation::ChangeHSVOperation() : NodeOperation()
|
||||
ChangeHSVOperation::ChangeHSVOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_ChannelMatteOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
ChannelMatteOperation::ChannelMatteOperation() : NodeOperation()
|
||||
ChannelMatteOperation::ChannelMatteOperation()
|
||||
{
|
||||
addInputSocket(COM_DT_COLOR);
|
||||
addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_ChromaMatteOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
ChromaMatteOperation::ChromaMatteOperation() : NodeOperation()
|
||||
ChromaMatteOperation::ChromaMatteOperation()
|
||||
{
|
||||
addInputSocket(COM_DT_COLOR);
|
||||
addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -31,7 +31,7 @@ inline float colorbalance_cdl(float in, float offset, float power, float slope)
|
||||
return powf(x, power);
|
||||
}
|
||||
|
||||
ColorBalanceASCCDLOperation::ColorBalanceASCCDLOperation() : NodeOperation()
|
||||
ColorBalanceASCCDLOperation::ColorBalanceASCCDLOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -36,7 +36,7 @@ inline float colorbalance_lgg(float in, float lift_lgg, float gamma_inv, float g
|
||||
return powf(srgb_to_linearrgb(x), gamma_inv);
|
||||
}
|
||||
|
||||
ColorBalanceLGGOperation::ColorBalanceLGGOperation() : NodeOperation()
|
||||
ColorBalanceLGGOperation::ColorBalanceLGGOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
|
||||
ColorCorrectionOperation::ColorCorrectionOperation() : NodeOperation()
|
||||
ColorCorrectionOperation::ColorCorrectionOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
ColorCurveOperation::ColorCurveOperation() : CurveBaseOperation()
|
||||
ColorCurveOperation::ColorCurveOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
@@ -98,7 +98,7 @@ void ColorCurveOperation::deinitExecution()
|
||||
|
||||
// Constant level curve mapping
|
||||
|
||||
ConstantLevelColorCurveOperation::ConstantLevelColorCurveOperation() : CurveBaseOperation()
|
||||
ConstantLevelColorCurveOperation::ConstantLevelColorCurveOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_ColorMatteOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
ColorMatteOperation::ColorMatteOperation() : NodeOperation()
|
||||
ColorMatteOperation::ColorMatteOperation()
|
||||
{
|
||||
addInputSocket(COM_DT_COLOR);
|
||||
addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "BKE_colorband.h"
|
||||
|
||||
ColorRampOperation::ColorRampOperation() : NodeOperation()
|
||||
ColorRampOperation::ColorRampOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "BLI_math.h"
|
||||
#define AVG(a, b) ((a + b) / 2)
|
||||
|
||||
ColorSpillOperation::ColorSpillOperation() : NodeOperation()
|
||||
ColorSpillOperation::ColorSpillOperation()
|
||||
{
|
||||
addInputSocket(COM_DT_COLOR);
|
||||
addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
CompositorOperation::CompositorOperation() : NodeOperation()
|
||||
CompositorOperation::CompositorOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "IMB_imbuf.h"
|
||||
|
||||
ConvertColorProfileOperation::ConvertColorProfileOperation() : NodeOperation()
|
||||
ConvertColorProfileOperation::ConvertColorProfileOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "BLI_math.h"
|
||||
#include "DNA_camera_types.h"
|
||||
|
||||
ConvertDepthToRadiusOperation::ConvertDepthToRadiusOperation() : NodeOperation()
|
||||
ConvertDepthToRadiusOperation::ConvertDepthToRadiusOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -397,7 +397,7 @@ void ConvertStraightToPremulOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Separate Channels ******** */
|
||||
|
||||
SeparateChannelOperation::SeparateChannelOperation() : NodeOperation()
|
||||
SeparateChannelOperation::SeparateChannelOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
@@ -425,7 +425,7 @@ void SeparateChannelOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Combine Channels ******** */
|
||||
|
||||
CombineChannelsOperation::CombineChannelsOperation() : NodeOperation()
|
||||
CombineChannelsOperation::CombineChannelsOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_ConvolutionEdgeFilterOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
ConvolutionEdgeFilterOperation::ConvolutionEdgeFilterOperation() : ConvolutionFilterOperation()
|
||||
ConvolutionEdgeFilterOperation::ConvolutionEdgeFilterOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
ConvolutionFilterOperation::ConvolutionFilterOperation() : NodeOperation()
|
||||
ConvolutionFilterOperation::ConvolutionFilterOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_CropOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
CropBaseOperation::CropBaseOperation() : NodeOperation()
|
||||
CropBaseOperation::CropBaseOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_CryptomatteOperation.h"
|
||||
|
||||
CryptomatteOperation::CryptomatteOperation(size_t num_inputs) : NodeOperation()
|
||||
CryptomatteOperation::CryptomatteOperation(size_t num_inputs)
|
||||
{
|
||||
for (size_t i = 0; i < num_inputs; i++) {
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "BKE_colortools.h"
|
||||
|
||||
CurveBaseOperation::CurveBaseOperation() : NodeOperation()
|
||||
CurveBaseOperation::CurveBaseOperation()
|
||||
{
|
||||
this->m_curveMapping = NULL;
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ static pthread_mutex_t oidn_lock = BLI_MUTEX_INITIALIZER;
|
||||
#endif
|
||||
#include <iostream>
|
||||
|
||||
DenoiseOperation::DenoiseOperation() : SingleThreadedOperation()
|
||||
DenoiseOperation::DenoiseOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VECTOR);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
DespeckleOperation::DespeckleOperation() : NodeOperation()
|
||||
DespeckleOperation::DespeckleOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_DifferenceMatteOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
DifferenceMatteOperation::DifferenceMatteOperation() : NodeOperation()
|
||||
DifferenceMatteOperation::DifferenceMatteOperation()
|
||||
{
|
||||
addInputSocket(COM_DT_COLOR);
|
||||
addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
// DilateErode Distance Threshold
|
||||
DilateErodeThresholdOperation::DilateErodeThresholdOperation() : NodeOperation()
|
||||
DilateErodeThresholdOperation::DilateErodeThresholdOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
@@ -159,7 +159,7 @@ bool DilateErodeThresholdOperation::determineDependingAreaOfInterest(
|
||||
}
|
||||
|
||||
// Dilate Distance
|
||||
DilateDistanceOperation::DilateDistanceOperation() : NodeOperation()
|
||||
DilateDistanceOperation::DilateDistanceOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
@@ -317,7 +317,7 @@ void ErodeDistanceOperation::executeOpenCL(OpenCLDevice *device,
|
||||
}
|
||||
|
||||
// Dilate step
|
||||
DilateStepOperation::DilateStepOperation() : NodeOperation()
|
||||
DilateStepOperation::DilateStepOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "RE_pipeline.h"
|
||||
|
||||
DirectionalBlurOperation::DirectionalBlurOperation() : NodeOperation()
|
||||
DirectionalBlurOperation::DirectionalBlurOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
DisplaceOperation::DisplaceOperation() : NodeOperation()
|
||||
DisplaceOperation::DisplaceOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VECTOR);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
DisplaceSimpleOperation::DisplaceSimpleOperation() : NodeOperation()
|
||||
DisplaceSimpleOperation::DisplaceSimpleOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VECTOR);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_DistanceRGBMatteOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
DistanceRGBMatteOperation::DistanceRGBMatteOperation() : NodeOperation()
|
||||
DistanceRGBMatteOperation::DistanceRGBMatteOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_DistanceYCCMatteOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
DistanceYCCMatteOperation::DistanceYCCMatteOperation() : DistanceRGBMatteOperation()
|
||||
DistanceYCCMatteOperation::DistanceYCCMatteOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_DotproductOperation.h"
|
||||
|
||||
DotproductOperation::DotproductOperation() : NodeOperation()
|
||||
DotproductOperation::DotproductOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VECTOR);
|
||||
this->addInputSocket(COM_DT_VECTOR);
|
||||
|
||||
@@ -1306,7 +1306,7 @@ void DoubleEdgeMaskOperation::doDoubleEdgeMask(float *imask, float *omask, float
|
||||
}
|
||||
}
|
||||
|
||||
DoubleEdgeMaskOperation::DoubleEdgeMaskOperation() : NodeOperation()
|
||||
DoubleEdgeMaskOperation::DoubleEdgeMaskOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "BLI_math.h"
|
||||
#include "DNA_node_types.h"
|
||||
|
||||
EllipseMaskOperation::EllipseMaskOperation() : NodeOperation()
|
||||
EllipseMaskOperation::EllipseMaskOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -256,7 +256,7 @@ void FastGaussianBlurOperation::IIR_gauss(MemoryBuffer *src,
|
||||
}
|
||||
|
||||
///
|
||||
FastGaussianBlurValueOperation::FastGaussianBlurValueOperation() : NodeOperation()
|
||||
FastGaussianBlurValueOperation::FastGaussianBlurValueOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_FlipOperation.h"
|
||||
|
||||
FlipOperation::FlipOperation() : NodeOperation()
|
||||
FlipOperation::FlipOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_GammaCorrectOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
GammaCorrectOperation::GammaCorrectOperation() : NodeOperation()
|
||||
GammaCorrectOperation::GammaCorrectOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
@@ -61,7 +61,7 @@ void GammaCorrectOperation::deinitExecution()
|
||||
this->m_inputProgram = NULL;
|
||||
}
|
||||
|
||||
GammaUncorrectOperation::GammaUncorrectOperation() : NodeOperation()
|
||||
GammaUncorrectOperation::GammaUncorrectOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_GammaOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
GammaOperation::GammaOperation() : NodeOperation()
|
||||
GammaOperation::GammaOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_GlareBaseOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
GlareBaseOperation::GlareBaseOperation() : SingleThreadedOperation()
|
||||
GlareBaseOperation::GlareBaseOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
|
||||
GlareThresholdOperation::GlareThresholdOperation() : NodeOperation()
|
||||
GlareThresholdOperation::GlareThresholdOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR, COM_SC_FIT);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "BKE_colortools.h"
|
||||
|
||||
HueSaturationValueCorrectOperation::HueSaturationValueCorrectOperation() : CurveBaseOperation()
|
||||
HueSaturationValueCorrectOperation::HueSaturationValueCorrectOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_IDMaskOperation.h"
|
||||
|
||||
IDMaskOperation::IDMaskOperation() : NodeOperation()
|
||||
IDMaskOperation::IDMaskOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "RE_render_ext.h"
|
||||
#include "RE_shader_ext.h"
|
||||
|
||||
BaseImageOperation::BaseImageOperation() : NodeOperation()
|
||||
BaseImageOperation::BaseImageOperation()
|
||||
{
|
||||
this->m_image = NULL;
|
||||
this->m_buffer = NULL;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
BLI_assert(x >= 0 && x < this->getWidth() && y >= 0 && y < this->getHeight())
|
||||
|
||||
// Inpaint (simple convolve using average of known pixels)
|
||||
InpaintSimpleOperation::InpaintSimpleOperation() : NodeOperation()
|
||||
InpaintSimpleOperation::InpaintSimpleOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_InvertOperation.h"
|
||||
|
||||
InvertOperation::InvertOperation() : NodeOperation()
|
||||
InvertOperation::InvertOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
KeyingBlurOperation::KeyingBlurOperation() : NodeOperation()
|
||||
KeyingBlurOperation::KeyingBlurOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
KeyingClipOperation::KeyingClipOperation() : NodeOperation()
|
||||
KeyingClipOperation::KeyingClipOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
KeyingDespillOperation::KeyingDespillOperation() : NodeOperation()
|
||||
KeyingDespillOperation::KeyingDespillOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -39,7 +39,7 @@ static float get_pixel_saturation(const float pixelColor[4],
|
||||
return (pixelColor[primary_channel] - val) * fabsf(1.0f - val);
|
||||
}
|
||||
|
||||
KeyingOperation::KeyingOperation() : NodeOperation()
|
||||
KeyingOperation::KeyingOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
KeyingScreenOperation::KeyingScreenOperation() : NodeOperation()
|
||||
KeyingScreenOperation::KeyingScreenOperation()
|
||||
{
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
this->m_movieClip = NULL;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_KeyingSetAlphaOperation.h"
|
||||
|
||||
KeyingSetAlphaOperation::KeyingSetAlphaOperation() : NodeOperation()
|
||||
KeyingSetAlphaOperation::KeyingSetAlphaOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
|
||||
LuminanceMatteOperation::LuminanceMatteOperation() : NodeOperation()
|
||||
LuminanceMatteOperation::LuminanceMatteOperation()
|
||||
{
|
||||
addInputSocket(COM_DT_COLOR);
|
||||
addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_MapRangeOperation.h"
|
||||
|
||||
MapRangeOperation::MapRangeOperation() : NodeOperation()
|
||||
MapRangeOperation::MapRangeOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_MapUVOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
MapUVOperation::MapUVOperation() : NodeOperation()
|
||||
MapUVOperation::MapUVOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
|
||||
this->addInputSocket(COM_DT_VECTOR);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_MapValueOperation.h"
|
||||
|
||||
MapValueOperation::MapValueOperation() : NodeOperation()
|
||||
MapValueOperation::MapValueOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_mask.h"
|
||||
|
||||
MaskOperation::MaskOperation() : NodeOperation()
|
||||
MaskOperation::MaskOperation()
|
||||
{
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
this->m_mask = NULL;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "BLI_math.h"
|
||||
|
||||
MathBaseOperation::MathBaseOperation() : NodeOperation()
|
||||
MathBaseOperation::MathBaseOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
/* ******** Mix Base Operation ******** */
|
||||
|
||||
MixBaseOperation::MixBaseOperation() : NodeOperation()
|
||||
MixBaseOperation::MixBaseOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
@@ -97,7 +97,7 @@ void MixBaseOperation::deinitExecution()
|
||||
|
||||
/* ******** Mix Add Operation ******** */
|
||||
|
||||
MixAddOperation::MixAddOperation() : MixBaseOperation()
|
||||
MixAddOperation::MixAddOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -126,7 +126,7 @@ void MixAddOperation::executePixelSampled(float output[4], float x, float y, Pix
|
||||
|
||||
/* ******** Mix Blend Operation ******** */
|
||||
|
||||
MixBlendOperation::MixBlendOperation() : MixBaseOperation()
|
||||
MixBlendOperation::MixBlendOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -160,7 +160,7 @@ void MixBlendOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Burn Operation ******** */
|
||||
|
||||
MixColorBurnOperation::MixColorBurnOperation() : MixBaseOperation()
|
||||
MixColorBurnOperation::MixColorBurnOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -243,7 +243,7 @@ void MixColorBurnOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Color Operation ******** */
|
||||
|
||||
MixColorOperation::MixColorOperation() : MixBaseOperation()
|
||||
MixColorOperation::MixColorOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -288,7 +288,7 @@ void MixColorOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Darken Operation ******** */
|
||||
|
||||
MixDarkenOperation::MixDarkenOperation() : MixBaseOperation()
|
||||
MixDarkenOperation::MixDarkenOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -321,7 +321,7 @@ void MixDarkenOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Difference Operation ******** */
|
||||
|
||||
MixDifferenceOperation::MixDifferenceOperation() : MixBaseOperation()
|
||||
MixDifferenceOperation::MixDifferenceOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -354,7 +354,7 @@ void MixDifferenceOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Difference Operation ******** */
|
||||
|
||||
MixDivideOperation::MixDivideOperation() : MixBaseOperation()
|
||||
MixDivideOperation::MixDivideOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -404,7 +404,7 @@ void MixDivideOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Dodge Operation ******** */
|
||||
|
||||
MixDodgeOperation::MixDodgeOperation() : MixBaseOperation()
|
||||
MixDodgeOperation::MixDodgeOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -492,7 +492,7 @@ void MixDodgeOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Glare Operation ******** */
|
||||
|
||||
MixGlareOperation::MixGlareOperation() : MixBaseOperation()
|
||||
MixGlareOperation::MixGlareOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -533,7 +533,7 @@ void MixGlareOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Hue Operation ******** */
|
||||
|
||||
MixHueOperation::MixHueOperation() : MixBaseOperation()
|
||||
MixHueOperation::MixHueOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -575,7 +575,7 @@ void MixHueOperation::executePixelSampled(float output[4], float x, float y, Pix
|
||||
|
||||
/* ******** Mix Lighten Operation ******** */
|
||||
|
||||
MixLightenOperation::MixLightenOperation() : MixBaseOperation()
|
||||
MixLightenOperation::MixLightenOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -626,7 +626,7 @@ void MixLightenOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Linear Light Operation ******** */
|
||||
|
||||
MixLinearLightOperation::MixLinearLightOperation() : MixBaseOperation()
|
||||
MixLinearLightOperation::MixLinearLightOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -674,7 +674,7 @@ void MixLinearLightOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Multiply Operation ******** */
|
||||
|
||||
MixMultiplyOperation::MixMultiplyOperation() : MixBaseOperation()
|
||||
MixMultiplyOperation::MixMultiplyOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -707,7 +707,7 @@ void MixMultiplyOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Ovelray Operation ******** */
|
||||
|
||||
MixOverlayOperation::MixOverlayOperation() : MixBaseOperation()
|
||||
MixOverlayOperation::MixOverlayOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -757,7 +757,7 @@ void MixOverlayOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Saturation Operation ******** */
|
||||
|
||||
MixSaturationOperation::MixSaturationOperation() : MixBaseOperation()
|
||||
MixSaturationOperation::MixSaturationOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -799,7 +799,7 @@ void MixSaturationOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Screen Operation ******** */
|
||||
|
||||
MixScreenOperation::MixScreenOperation() : MixBaseOperation()
|
||||
MixScreenOperation::MixScreenOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -833,7 +833,7 @@ void MixScreenOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Soft Light Operation ******** */
|
||||
|
||||
MixSoftLightOperation::MixSoftLightOperation() : MixBaseOperation()
|
||||
MixSoftLightOperation::MixSoftLightOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -879,7 +879,7 @@ void MixSoftLightOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Subtract Operation ******** */
|
||||
|
||||
MixSubtractOperation::MixSubtractOperation() : MixBaseOperation()
|
||||
MixSubtractOperation::MixSubtractOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
@@ -911,7 +911,7 @@ void MixSubtractOperation::executePixelSampled(float output[4],
|
||||
|
||||
/* ******** Mix Value Operation ******** */
|
||||
|
||||
MixValueOperation::MixValueOperation() : MixBaseOperation()
|
||||
MixValueOperation::MixValueOperation()
|
||||
{
|
||||
/* pass */
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "BKE_movieclip.h"
|
||||
#include "BKE_tracking.h"
|
||||
|
||||
MovieClipAttributeOperation::MovieClipAttributeOperation() : NodeOperation()
|
||||
MovieClipAttributeOperation::MovieClipAttributeOperation()
|
||||
{
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
this->m_framenumber = 0;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "IMB_imbuf.h"
|
||||
|
||||
MovieClipBaseOperation::MovieClipBaseOperation() : NodeOperation()
|
||||
MovieClipBaseOperation::MovieClipBaseOperation()
|
||||
{
|
||||
this->m_movieClip = NULL;
|
||||
this->m_movieClipBuffer = NULL;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "BLI_linklist.h"
|
||||
|
||||
MovieDistortionOperation::MovieDistortionOperation(bool distortion) : NodeOperation()
|
||||
MovieDistortionOperation::MovieDistortionOperation(bool distortion)
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
MultilayerBaseOperation::MultilayerBaseOperation(int passindex, int view) : BaseImageOperation()
|
||||
MultilayerBaseOperation::MultilayerBaseOperation(int passindex, int view)
|
||||
{
|
||||
this->m_passId = passindex;
|
||||
this->m_view = view;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_NormalizeOperation.h"
|
||||
|
||||
NormalizeOperation::NormalizeOperation() : NodeOperation()
|
||||
NormalizeOperation::NormalizeOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_PixelateOperation.h"
|
||||
|
||||
PixelateOperation::PixelateOperation(DataType datatype) : NodeOperation()
|
||||
PixelateOperation::PixelateOperation(DataType datatype)
|
||||
{
|
||||
this->addInputSocket(datatype);
|
||||
this->addOutputSocket(datatype);
|
||||
|
||||
@@ -87,8 +87,7 @@ static void readCornersFromSockets(rcti *rect, SocketReader *readers[4], float c
|
||||
|
||||
/* ******** PlaneCornerPinMaskOperation ******** */
|
||||
|
||||
PlaneCornerPinMaskOperation::PlaneCornerPinMaskOperation()
|
||||
: PlaneDistortMaskOperation(), m_corners_ready(false)
|
||||
PlaneCornerPinMaskOperation::PlaneCornerPinMaskOperation() : m_corners_ready(false)
|
||||
{
|
||||
addInputSocket(COM_DT_VECTOR);
|
||||
addInputSocket(COM_DT_VECTOR);
|
||||
@@ -152,8 +151,7 @@ void PlaneCornerPinMaskOperation::determineResolution(unsigned int resolution[2]
|
||||
|
||||
/* ******** PlaneCornerPinWarpImageOperation ******** */
|
||||
|
||||
PlaneCornerPinWarpImageOperation::PlaneCornerPinWarpImageOperation()
|
||||
: PlaneDistortWarpImageOperation(), m_corners_ready(false)
|
||||
PlaneCornerPinWarpImageOperation::PlaneCornerPinWarpImageOperation() : m_corners_ready(false)
|
||||
{
|
||||
addInputSocket(COM_DT_VECTOR);
|
||||
addInputSocket(COM_DT_VECTOR);
|
||||
|
||||
@@ -44,7 +44,7 @@ BLI_INLINE void warpCoord(float x, float y, float matrix[3][3], float uv[2], flo
|
||||
deriv[1][1] = (matrix[1][1] - matrix[1][2] * uv[1]) / vec[2];
|
||||
}
|
||||
|
||||
PlaneDistortWarpImageOperation::PlaneDistortWarpImageOperation() : NodeOperation()
|
||||
PlaneDistortWarpImageOperation::PlaneDistortWarpImageOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
@@ -145,7 +145,7 @@ bool PlaneDistortWarpImageOperation::determineDependingAreaOfInterest(
|
||||
|
||||
/* ******** PlaneDistort Mask ******** */
|
||||
|
||||
PlaneDistortMaskOperation::PlaneDistortMaskOperation() : NodeOperation()
|
||||
PlaneDistortMaskOperation::PlaneDistortMaskOperation()
|
||||
{
|
||||
addOutputSocket(COM_DT_VALUE);
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ class PlaneTrackCommon {
|
||||
|
||||
class PlaneTrackMaskOperation : public PlaneDistortMaskOperation, public PlaneTrackCommon {
|
||||
public:
|
||||
PlaneTrackMaskOperation() : PlaneDistortMaskOperation(), PlaneTrackCommon()
|
||||
PlaneTrackMaskOperation()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ class PlaneTrackMaskOperation : public PlaneDistortMaskOperation, public PlaneTr
|
||||
class PlaneTrackWarpImageOperation : public PlaneDistortWarpImageOperation,
|
||||
public PlaneTrackCommon {
|
||||
public:
|
||||
PlaneTrackWarpImageOperation() : PlaneDistortWarpImageOperation(), PlaneTrackCommon()
|
||||
PlaneTrackWarpImageOperation() : PlaneTrackCommon()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
PreviewOperation::PreviewOperation(const ColorManagedViewSettings *viewSettings,
|
||||
const ColorManagedDisplaySettings *displaySettings)
|
||||
: NodeOperation()
|
||||
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
|
||||
this->m_preview = NULL;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
ProjectorLensDistortionOperation::ProjectorLensDistortionOperation() : NodeOperation()
|
||||
ProjectorLensDistortionOperation::ProjectorLensDistortionOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "COM_WriteBufferOperation.h"
|
||||
#include "COM_defines.h"
|
||||
|
||||
ReadBufferOperation::ReadBufferOperation(DataType datatype) : NodeOperation()
|
||||
ReadBufferOperation::ReadBufferOperation(DataType datatype)
|
||||
{
|
||||
this->addOutputSocket(datatype);
|
||||
this->m_single_value = false;
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
/* ******** Render Layers Base Prog ******** */
|
||||
|
||||
RenderLayersProg::RenderLayersProg(const char *passName, DataType type, int elementsize)
|
||||
: NodeOperation(), m_passName(passName)
|
||||
: m_passName(passName)
|
||||
{
|
||||
this->setScene(NULL);
|
||||
this->m_inputBuffer = NULL;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_RotateOperation.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
RotateOperation::RotateOperation() : NodeOperation()
|
||||
RotateOperation::RotateOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
ScreenLensDistortionOperation::ScreenLensDistortionOperation() : NodeOperation()
|
||||
ScreenLensDistortionOperation::ScreenLensDistortionOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_SetAlphaOperation.h"
|
||||
|
||||
SetAlphaOperation::SetAlphaOperation() : NodeOperation()
|
||||
SetAlphaOperation::SetAlphaOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_SetColorOperation.h"
|
||||
|
||||
SetColorOperation::SetColorOperation() : NodeOperation()
|
||||
SetColorOperation::SetColorOperation()
|
||||
{
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_SetSamplerOperation.h"
|
||||
|
||||
SetSamplerOperation::SetSamplerOperation() : NodeOperation()
|
||||
SetSamplerOperation::SetSamplerOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_SetValueOperation.h"
|
||||
|
||||
SetValueOperation::SetValueOperation() : NodeOperation()
|
||||
SetValueOperation::SetValueOperation()
|
||||
{
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_SetVectorOperation.h"
|
||||
#include "COM_defines.h"
|
||||
|
||||
SetVectorOperation::SetVectorOperation() : NodeOperation()
|
||||
SetVectorOperation::SetVectorOperation()
|
||||
{
|
||||
this->addOutputSocket(COM_DT_VECTOR);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_SocketProxyOperation.h"
|
||||
|
||||
SocketProxyOperation::SocketProxyOperation(DataType type, bool use_conversion)
|
||||
: NodeOperation(), m_use_conversion(use_conversion)
|
||||
: m_use_conversion(use_conversion)
|
||||
{
|
||||
this->addInputSocket(type);
|
||||
this->addOutputSocket(type);
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
SplitOperation::SplitOperation() : NodeOperation()
|
||||
SplitOperation::SplitOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "COM_SunBeamsOperation.h"
|
||||
|
||||
SunBeamsOperation::SunBeamsOperation() : NodeOperation()
|
||||
SunBeamsOperation::SunBeamsOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_threads.h"
|
||||
|
||||
TextureBaseOperation::TextureBaseOperation() : NodeOperation()
|
||||
TextureBaseOperation::TextureBaseOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VECTOR); // offset
|
||||
this->addInputSocket(COM_DT_VECTOR); // size
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
|
||||
TonemapOperation::TonemapOperation() : NodeOperation()
|
||||
TonemapOperation::TonemapOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE);
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "BKE_node.h"
|
||||
#include "BKE_tracking.h"
|
||||
|
||||
TrackPositionOperation::TrackPositionOperation() : NodeOperation()
|
||||
TrackPositionOperation::TrackPositionOperation()
|
||||
{
|
||||
this->addOutputSocket(COM_DT_VALUE);
|
||||
this->m_movieClip = NULL;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "COM_TranslateOperation.h"
|
||||
|
||||
TranslateOperation::TranslateOperation() : NodeOperation()
|
||||
TranslateOperation::TranslateOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "RE_pipeline.h"
|
||||
|
||||
VariableSizeBokehBlurOperation::VariableSizeBokehBlurOperation() : NodeOperation()
|
||||
VariableSizeBokehBlurOperation::VariableSizeBokehBlurOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE); // do not resize the bokeh image.
|
||||
@@ -276,7 +276,7 @@ bool VariableSizeBokehBlurOperation::determineDependingAreaOfInterest(
|
||||
|
||||
#ifdef COM_DEFOCUS_SEARCH
|
||||
// InverseSearchRadiusOperation
|
||||
InverseSearchRadiusOperation::InverseSearchRadiusOperation() : NodeOperation()
|
||||
InverseSearchRadiusOperation::InverseSearchRadiusOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE, COM_SC_NO_RESIZE); // radius
|
||||
this->addOutputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -43,7 +43,7 @@ void zbuf_free_span(ZSpan *zspan);
|
||||
void antialias_tagbuf(int xsize, int ysize, char *rectmove);
|
||||
|
||||
/* VectorBlurOperation */
|
||||
VectorBlurOperation::VectorBlurOperation() : NodeOperation()
|
||||
VectorBlurOperation::VectorBlurOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE); // ZBUF
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "BKE_colortools.h"
|
||||
|
||||
VectorCurveOperation::VectorCurveOperation() : CurveBaseOperation()
|
||||
VectorCurveOperation::VectorCurveOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VECTOR);
|
||||
this->addOutputSocket(COM_DT_VECTOR);
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
ViewerOperation::ViewerOperation() : NodeOperation()
|
||||
ViewerOperation::ViewerOperation()
|
||||
{
|
||||
this->setImage(NULL);
|
||||
this->setImageUser(NULL);
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "COM_defines.h"
|
||||
#include <stdio.h>
|
||||
|
||||
WriteBufferOperation::WriteBufferOperation(DataType datatype) : NodeOperation()
|
||||
WriteBufferOperation::WriteBufferOperation(DataType datatype)
|
||||
{
|
||||
this->addInputSocket(datatype);
|
||||
this->m_memoryProxy = new MemoryProxy(datatype);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "COM_ZCombineOperation.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
ZCombineOperation::ZCombineOperation() : NodeOperation()
|
||||
ZCombineOperation::ZCombineOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
this->addInputSocket(COM_DT_VALUE);
|
||||
@@ -95,7 +95,7 @@ void ZCombineOperation::deinitExecution()
|
||||
}
|
||||
|
||||
// MASK combine
|
||||
ZCombineMaskOperation::ZCombineMaskOperation() : NodeOperation()
|
||||
ZCombineMaskOperation::ZCombineMaskOperation()
|
||||
{
|
||||
this->addInputSocket(COM_DT_VALUE); // mask
|
||||
this->addInputSocket(COM_DT_COLOR);
|
||||
|
||||
@@ -39,9 +39,7 @@ namespace blender {
|
||||
namespace deg {
|
||||
|
||||
DriverDescriptor::DriverDescriptor(PointerRNA *id_ptr, FCurve *fcu)
|
||||
: rna_prefix(),
|
||||
rna_suffix(),
|
||||
id_ptr_(id_ptr),
|
||||
: id_ptr_(id_ptr),
|
||||
fcu_(fcu),
|
||||
driver_relations_needed_(false),
|
||||
pointer_rna_(),
|
||||
|
||||
@@ -37,8 +37,7 @@ AbstractBuilderPipeline::AbstractBuilderPipeline(::Depsgraph *graph)
|
||||
: deg_graph_(reinterpret_cast<Depsgraph *>(graph)),
|
||||
bmain_(deg_graph_->bmain),
|
||||
scene_(deg_graph_->scene),
|
||||
view_layer_(deg_graph_->view_layer),
|
||||
builder_cache_()
|
||||
view_layer_(deg_graph_->view_layer)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -31,13 +31,13 @@
|
||||
#include "../system/StringUtils.h"
|
||||
namespace Freestyle {
|
||||
|
||||
AppCanvas::AppCanvas() : Canvas()
|
||||
AppCanvas::AppCanvas()
|
||||
{
|
||||
_pViewer = 0;
|
||||
_MapsPath = Config::Path::getInstance()->getMapsDir().c_str();
|
||||
}
|
||||
|
||||
AppCanvas::AppCanvas(AppView *iViewer) : Canvas()
|
||||
AppCanvas::AppCanvas(AppView *iViewer)
|
||||
{
|
||||
_pViewer = iViewer;
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace Freestyle {
|
||||
|
||||
const char *BlenderStrokeRenderer::uvNames[] = {"along_stroke", "along_stroke_tips"};
|
||||
|
||||
BlenderStrokeRenderer::BlenderStrokeRenderer(Render *re, int render_count) : StrokeRenderer()
|
||||
BlenderStrokeRenderer::BlenderStrokeRenderer(Render *re, int render_count)
|
||||
{
|
||||
freestyle_bmain = BKE_main_new();
|
||||
|
||||
|
||||
@@ -124,14 +124,12 @@ int ImagePyramid::height(int level)
|
||||
}
|
||||
|
||||
GaussianPyramid::GaussianPyramid(const GrayImage &level0, unsigned nbLevels, float iSigma)
|
||||
: ImagePyramid()
|
||||
{
|
||||
_sigma = iSigma;
|
||||
BuildPyramid(level0, nbLevels);
|
||||
}
|
||||
|
||||
GaussianPyramid::GaussianPyramid(GrayImage *level0, unsigned nbLevels, float iSigma)
|
||||
: ImagePyramid()
|
||||
{
|
||||
_sigma = iSigma;
|
||||
BuildPyramid(level0, nbLevels);
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
namespace Freestyle {
|
||||
|
||||
IndexedFaceSet::IndexedFaceSet() : Rep()
|
||||
IndexedFaceSet::IndexedFaceSet()
|
||||
{
|
||||
_Vertices = NULL;
|
||||
_Normals = NULL;
|
||||
@@ -68,7 +68,6 @@ IndexedFaceSet::IndexedFaceSet(float *iVertices,
|
||||
unsigned *iTIndices,
|
||||
unsigned iTISize,
|
||||
unsigned iCopy)
|
||||
: Rep()
|
||||
{
|
||||
if (1 == iCopy) {
|
||||
_VSize = iVSize;
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Freestyle {
|
||||
|
||||
int NodeLight::numberOfLights = 0;
|
||||
|
||||
NodeLight::NodeLight() : Node()
|
||||
NodeLight::NodeLight()
|
||||
{
|
||||
if (numberOfLights > 7) {
|
||||
_number = 7;
|
||||
|
||||
@@ -37,7 +37,6 @@ CalligraphicShader::CalligraphicShader(real iMinThickness,
|
||||
real iMaxThickness,
|
||||
const Vec2f &iOrientation,
|
||||
bool clamp)
|
||||
: StrokeShader()
|
||||
{
|
||||
_minThickness = iMinThickness;
|
||||
_maxThickness = iMaxThickness;
|
||||
@@ -90,7 +89,6 @@ static const unsigned NB_VALUE_NOISE = 512;
|
||||
|
||||
SpatialNoiseShader::SpatialNoiseShader(
|
||||
float iAmount, float ixScale, int nbOctave, bool smooth, bool pureRandom)
|
||||
: StrokeShader()
|
||||
{
|
||||
_amount = iAmount;
|
||||
if (ixScale == 0) {
|
||||
@@ -169,7 +167,6 @@ SmoothingShader::SmoothingShader(int iNbIteration,
|
||||
real iAnisoNormal,
|
||||
real iAnisoCurvature,
|
||||
real iCarricatureFactor)
|
||||
: StrokeShader()
|
||||
{
|
||||
_nbIterations = iNbIteration;
|
||||
_factorCurvature = ifactorCurvature;
|
||||
|
||||
@@ -170,13 +170,13 @@ int LengthDependingThicknessShader::shade(Stroke &stroke) const
|
||||
|
||||
static const unsigned NB_VALUE_NOISE = 512;
|
||||
|
||||
ThicknessNoiseShader::ThicknessNoiseShader() : StrokeShader()
|
||||
ThicknessNoiseShader::ThicknessNoiseShader()
|
||||
{
|
||||
_amplitude = 1.0f;
|
||||
_scale = 1.0f / 2.0f / (float)NB_VALUE_NOISE;
|
||||
}
|
||||
|
||||
ThicknessNoiseShader::ThicknessNoiseShader(float iAmplitude, float iPeriod) : StrokeShader()
|
||||
ThicknessNoiseShader::ThicknessNoiseShader(float iAmplitude, float iPeriod)
|
||||
{
|
||||
_amplitude = iAmplitude;
|
||||
_scale = 1.0f / iPeriod / (float)NB_VALUE_NOISE;
|
||||
@@ -256,13 +256,13 @@ int MaterialColorShader::shade(Stroke &stroke) const
|
||||
return 0;
|
||||
}
|
||||
|
||||
ColorNoiseShader::ColorNoiseShader() : StrokeShader()
|
||||
ColorNoiseShader::ColorNoiseShader()
|
||||
{
|
||||
_amplitude = 1.0f;
|
||||
_scale = 1.0f / 2.0f / (float)NB_VALUE_NOISE;
|
||||
}
|
||||
|
||||
ColorNoiseShader::ColorNoiseShader(float iAmplitude, float iPeriod) : StrokeShader()
|
||||
ColorNoiseShader::ColorNoiseShader(float iAmplitude, float iPeriod)
|
||||
{
|
||||
_amplitude = iAmplitude;
|
||||
_scale = 1.0f / iPeriod / (float)NB_VALUE_NOISE;
|
||||
@@ -646,7 +646,7 @@ int GuidingLinesShader::shade(Stroke &stroke) const
|
||||
//
|
||||
/////////////////////////////////////////
|
||||
|
||||
TipRemoverShader::TipRemoverShader(real tipLength) : StrokeShader()
|
||||
TipRemoverShader::TipRemoverShader(real tipLength)
|
||||
{
|
||||
_tipLength = tipLength;
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ class ConstantThicknessShader : public StrokeShader {
|
||||
* \param thickness:
|
||||
* The thickness that must be assigned to the stroke.
|
||||
*/
|
||||
ConstantThicknessShader(float thickness) : StrokeShader()
|
||||
ConstantThicknessShader(float thickness)
|
||||
{
|
||||
_thickness = thickness;
|
||||
}
|
||||
@@ -86,7 +86,7 @@ class ConstantThicknessShader : public StrokeShader {
|
||||
*/
|
||||
class ConstantExternThicknessShader : public StrokeShader {
|
||||
public:
|
||||
ConstantExternThicknessShader(float thickness) : StrokeShader()
|
||||
ConstantExternThicknessShader(float thickness)
|
||||
{
|
||||
_thickness = thickness;
|
||||
}
|
||||
@@ -120,7 +120,7 @@ class IncreasingThicknessShader : public StrokeShader {
|
||||
* \param iThicknessMax:
|
||||
* The second thickness value.
|
||||
*/
|
||||
IncreasingThicknessShader(float iThicknessMin, float iThicknessMax) : StrokeShader()
|
||||
IncreasingThicknessShader(float iThicknessMin, float iThicknessMax)
|
||||
{
|
||||
_ThicknessMin = iThicknessMin;
|
||||
_ThicknessMax = iThicknessMax;
|
||||
@@ -164,7 +164,7 @@ class ConstrainedIncreasingThicknessShader : public StrokeShader {
|
||||
* The ration thickness/length we don't want to exceed.
|
||||
*/
|
||||
ConstrainedIncreasingThicknessShader(float iThicknessMin, float iThicknessMax, float iRatio)
|
||||
: StrokeShader()
|
||||
|
||||
{
|
||||
_ThicknessMin = iThicknessMin;
|
||||
_ThicknessMax = iThicknessMax;
|
||||
@@ -199,7 +199,7 @@ class LengthDependingThicknessShader : public StrokeShader {
|
||||
// l < 50
|
||||
|
||||
public:
|
||||
LengthDependingThicknessShader(float iMinThickness, float iMaxThickness) : StrokeShader()
|
||||
LengthDependingThicknessShader(float iMinThickness, float iMaxThickness)
|
||||
{
|
||||
_minThickness = iMinThickness;
|
||||
_maxThickness = iMaxThickness;
|
||||
@@ -265,7 +265,7 @@ class ConstantColorShader : public StrokeShader {
|
||||
* \param iAlpha:
|
||||
* The alpha value
|
||||
*/
|
||||
ConstantColorShader(float iR, float iG, float iB, float iAlpha = 1.0f) : StrokeShader()
|
||||
ConstantColorShader(float iR, float iG, float iB, float iAlpha = 1.0f)
|
||||
{
|
||||
_color[0] = iR;
|
||||
_color[1] = iG;
|
||||
@@ -322,7 +322,7 @@ class IncreasingColorShader : public StrokeShader {
|
||||
float iGM,
|
||||
float iBM,
|
||||
float iAlphaM)
|
||||
: StrokeShader()
|
||||
|
||||
{
|
||||
_colorMin[0] = iRm;
|
||||
_colorMin[1] = iGm;
|
||||
@@ -353,7 +353,7 @@ class MaterialColorShader : public StrokeShader {
|
||||
float _coefficient;
|
||||
|
||||
public:
|
||||
MaterialColorShader(float coeff = 1.0f) : StrokeShader()
|
||||
MaterialColorShader(float coeff = 1.0f)
|
||||
{
|
||||
_coefficient = coeff;
|
||||
}
|
||||
@@ -411,7 +411,7 @@ class BackboneStretcherShader : public StrokeShader {
|
||||
* \param iAmount:
|
||||
* The stretching amount value.
|
||||
*/
|
||||
BackboneStretcherShader(float iAmount = 2.0f) : StrokeShader()
|
||||
BackboneStretcherShader(float iAmount = 2.0f)
|
||||
{
|
||||
_amount = iAmount;
|
||||
}
|
||||
@@ -438,7 +438,7 @@ class SamplingShader : public StrokeShader {
|
||||
* \param sampling:
|
||||
* The sampling to use for the stroke resampling
|
||||
*/
|
||||
SamplingShader(float sampling) : StrokeShader()
|
||||
SamplingShader(float sampling)
|
||||
{
|
||||
_sampling = sampling;
|
||||
}
|
||||
@@ -457,7 +457,7 @@ class ExternalContourStretcherShader : public StrokeShader {
|
||||
float _amount;
|
||||
|
||||
public:
|
||||
ExternalContourStretcherShader(float iAmount = 2.0f) : StrokeShader()
|
||||
ExternalContourStretcherShader(float iAmount = 2.0f)
|
||||
{
|
||||
_amount = iAmount;
|
||||
}
|
||||
@@ -486,7 +486,7 @@ class BezierCurveShader : public StrokeShader {
|
||||
* The error we're allowing for the approximation.
|
||||
* This error is the max distance allowed between the new curve and the original geometry.
|
||||
*/
|
||||
BezierCurveShader(float error = 4.0) : StrokeShader()
|
||||
BezierCurveShader(float error = 4.0)
|
||||
{
|
||||
_error = error;
|
||||
}
|
||||
@@ -517,7 +517,7 @@ class PolygonalizationShader : public StrokeShader {
|
||||
* geometry. The smaller, the closer the new stroke to the original one.
|
||||
* This error corresponds * to the maximum distance between the new stroke and the old one.
|
||||
*/
|
||||
PolygonalizationShader(float iError) : StrokeShader()
|
||||
PolygonalizationShader(float iError)
|
||||
{
|
||||
_error = iError;
|
||||
}
|
||||
@@ -548,7 +548,7 @@ class GuidingLinesShader : public StrokeShader {
|
||||
* "bbox". iOffset is the value of the displacement which is applied to this line along its
|
||||
* normal.
|
||||
*/
|
||||
GuidingLinesShader(float iOffset) : StrokeShader()
|
||||
GuidingLinesShader(float iOffset)
|
||||
{
|
||||
_offset = iOffset;
|
||||
}
|
||||
@@ -604,7 +604,7 @@ class BlenderTextureShader : public StrokeShader {
|
||||
* \param mtex:
|
||||
* The blender texture to use.
|
||||
*/
|
||||
BlenderTextureShader(MTex *mtex) : StrokeShader()
|
||||
BlenderTextureShader(MTex *mtex)
|
||||
{
|
||||
_mtex = mtex;
|
||||
_nodeTree = NULL;
|
||||
@@ -614,7 +614,7 @@ class BlenderTextureShader : public StrokeShader {
|
||||
* \param nodetree:
|
||||
* A node tree (of new shading nodes) to define textures.
|
||||
*/
|
||||
BlenderTextureShader(bNodeTree *nodetree) : StrokeShader()
|
||||
BlenderTextureShader(bNodeTree *nodetree)
|
||||
{
|
||||
_nodeTree = nodetree;
|
||||
_mtex = NULL;
|
||||
@@ -642,7 +642,7 @@ class StrokeTextureStepShader : public StrokeShader {
|
||||
* \param id:
|
||||
* The number of the preset to use.
|
||||
*/
|
||||
StrokeTextureStepShader(float step) : StrokeShader()
|
||||
StrokeTextureStepShader(float step)
|
||||
{
|
||||
_step = step;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
namespace Freestyle {
|
||||
|
||||
PSStrokeRenderer::PSStrokeRenderer(const char *iFileName) : StrokeRenderer()
|
||||
PSStrokeRenderer::PSStrokeRenderer(const char *iFileName)
|
||||
{
|
||||
if (!iFileName) {
|
||||
iFileName = "freestyle.ps";
|
||||
|
||||
@@ -342,7 +342,7 @@ void StrokeAttribute::setAttributeVec3f(const char *iName, const Vec3f &att)
|
||||
/* */
|
||||
/**********************************/
|
||||
|
||||
StrokeVertex::StrokeVertex() : CurvePoint()
|
||||
StrokeVertex::StrokeVertex()
|
||||
{
|
||||
_CurvilignAbscissa = 0.0f;
|
||||
_StrokeLength = 0.0f;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
namespace Freestyle {
|
||||
|
||||
TextStrokeRenderer::TextStrokeRenderer(const char *iFileName) : StrokeRenderer()
|
||||
TextStrokeRenderer::TextStrokeRenderer(const char *iFileName)
|
||||
{
|
||||
if (!iFileName) {
|
||||
iFileName = "freestyle.txt";
|
||||
|
||||
@@ -242,7 +242,7 @@ bool BoxGrid::enableQI() const
|
||||
return _enableQI;
|
||||
}
|
||||
|
||||
BoxGrid::Transform::Transform() : GridHelpers::Transform()
|
||||
BoxGrid::Transform::Transform()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -238,7 +238,7 @@ bool SphericalGrid::enableQI() const
|
||||
return _enableQI;
|
||||
}
|
||||
|
||||
SphericalGrid::Transform::Transform() : GridHelpers::Transform()
|
||||
SphericalGrid::Transform::Transform()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -2322,7 +2322,7 @@ struct less_Intersection {
|
||||
};
|
||||
|
||||
struct silhouette_binary_rule : public binary_rule<segment, segment> {
|
||||
silhouette_binary_rule() : binary_rule<segment, segment>()
|
||||
silhouette_binary_rule()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace blender::gpu {
|
||||
/** \name GLStateManager
|
||||
* \{ */
|
||||
|
||||
GLStateManager::GLStateManager(void) : StateManager()
|
||||
GLStateManager::GLStateManager(void)
|
||||
{
|
||||
/* Set other states that never change. */
|
||||
glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "BKE_armature.h"
|
||||
|
||||
UnitConverter::UnitConverter() : unit(), up_axis(COLLADAFW::FileInfo::Z_UP)
|
||||
UnitConverter::UnitConverter() : up_axis(COLLADAFW::FileInfo::Z_UP)
|
||||
{
|
||||
axis_angle_to_mat4_single(x_up_mat4, 'Y', -0.5 * M_PI);
|
||||
axis_angle_to_mat4_single(y_up_mat4, 'X', 0.5 * M_PI);
|
||||
|
||||
@@ -182,7 +182,7 @@ bool AbstractHierarchyWriter::check_has_deforming_physics(const HierarchyContext
|
||||
}
|
||||
|
||||
AbstractHierarchyIterator::AbstractHierarchyIterator(Depsgraph *depsgraph)
|
||||
: depsgraph_(depsgraph), writers_(), export_subset_({true, true})
|
||||
: depsgraph_(depsgraph), export_subset_({true, true})
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -37,10 +37,7 @@ static const pxr::TfToken surface("surface", pxr::TfToken::Immortal);
|
||||
namespace blender::io::usd {
|
||||
|
||||
USDAbstractWriter::USDAbstractWriter(const USDExporterContext &usd_export_context)
|
||||
: usd_export_context_(usd_export_context),
|
||||
usd_value_writer_(),
|
||||
frame_has_been_written_(false),
|
||||
is_animated_(false)
|
||||
: usd_export_context_(usd_export_context), frame_has_been_written_(false), is_animated_(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user