65 radius_operation = blur;
72 if (
data->bktype < 3) {
84 #ifdef COM_DEFOCUS_SEARCH
85 InverseSearchRadiusOperation *search =
new InverseSearchRadiusOperation();
86 search->set_max_blur(
data->maxblur);
105 #ifdef COM_DEFOCUS_SEARCH
struct NodeBokehImage NodeBokehImage
btMatrix3x3 inverse() const
Return the inverse of the matrix.
The BokehImageOperation class is an operation that creates an image useful to mimic the internals of ...
void set_data(NodeBokehImage *data)
set the node data
void delete_data_on_finish()
delete_data_on_finish
Overall context of the compositor.
void setf_stop(float f_stop)
void set_post_blur(FastGaussianBlurValueOperation *operation)
void set_camera_object(Object *camera)
void set_max_radius(float max_radius)
DefocusNode(bNode *editor_node)
void convert_to_operations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
void set_overlay(int overlay)
void add_link(NodeOperationOutput *from, NodeOperationInput *to)
void map_output_socket(NodeOutput *node_socket, NodeOperationOutput *operation_socket)
void add_operation(NodeOperation *operation)
void map_input_socket(NodeInput *node_socket, NodeOperationInput *operation_socket)
NodeOperation contains calculation logic.
NodeOperationOutput * get_output_socket(unsigned int index=0)
NodeOperationInput * get_input_socket(unsigned int index)
NodeOutput * get_output_socket(unsigned int index=0) const
bNode * get_bnode() const
get the reference to the SDNA bNode struct
NodeInput * get_input_socket(unsigned int index) const
void set_quality(eCompositorQuality quality)
void set_value(float value)
void set_threshold(float threshold)
void set_max_blur(int max_radius)
@ Low
Low quality setting.
static void minimize(float rvalue[3], float mp[3], const float pts[12][3], const float norms[12][3], const int parity[12])