Blender V4.5
blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation Class Reference

Inherits blender::compositor::NodeOperation.

Public Member Functions

void execute () override
 
void execute_classic ()
 
void execute_classic_convolution ()
 
void execute_classic_convolution_gpu ()
 
const char * get_classic_convolution_shader_name ()
 
void execute_classic_convolution_cpu ()
 
void execute_classic_summed_area_table ()
 
void execute_classic_summed_area_table_gpu (const Result &table, const Result &squared_table)
 
const char * get_classic_summed_area_table_shader_name ()
 
void execute_classic_summed_area_table_cpu (const Result &table, const Result &squared_table)
 
template<bool UseSummedAreaTable>
void compute_classic (const Result *input, const Result *table, const Result *squared_table, const Result &size_input, Result &output, const int2 size)
 
void execute_anisotropic ()
 
void execute_anisotropic_gpu (const Result &structure_tensor)
 
const char * get_anisotropic_shader_name ()
 
void execute_anisotropic_cpu (const Result &structure_tensor)
 
Result compute_structure_tensor ()
 
Result compute_structure_tensor_gpu ()
 
Result compute_structure_tensor_cpu ()
 
bool is_constant_size ()
 
float compute_sharpness ()
 
float compute_eccentricity ()
 
int get_high_precision ()
 
int get_uniformity ()
 
float get_sharpness ()
 
float get_eccentricity ()
 
 NodeOperation (Context &context, DNode node)
 
- Public Member Functions inherited from blender::compositor::NodeOperation
 NodeOperation (Context &context, DNode node)
 
void evaluate () override
 
void compute_results_reference_counts (const Schedule &schedule)
 
- Public Member Functions inherited from blender::compositor::Operation
 Operation (Context &context)
 
virtual ~Operation ()
 
Resultget_result (StringRef identifier)
 
void map_input_to_result (StringRef identifier, Result *result)
 
void free_results ()
 

Additional Inherited Members

- Protected Member Functions inherited from blender::compositor::NodeOperation
void compute_preview () override
 
const DNodenode () const
 
const bNodebnode () const
 
bool should_compute_output (StringRef identifier)
 
- Protected Member Functions inherited from blender::compositor::Operation
virtual Domain compute_domain ()
 
virtual void add_and_evaluate_input_processors ()
 
void add_and_evaluate_input_processor (StringRef identifier, SimpleOperation *processor)
 
Resultget_input (StringRef identifier) const
 
void switch_result_mapped_to_input (StringRef identifier, Result *result)
 
void populate_result (StringRef identifier, Result result)
 
void declare_input_descriptor (StringRef identifier, InputDescriptor descriptor)
 
InputDescriptorget_input_descriptor (StringRef identifier)
 
Contextcontext () const
 

Detailed Description

Definition at line 109 of file node_composite_kuwahara.cc.

Member Function Documentation

◆ compute_classic()

template<bool UseSummedAreaTable>
void blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_classic ( const Result * input,
const Result * table,
const Result * squared_table,
const Result & size_input,
Result & output,
const int2 size )
inline

◆ compute_eccentricity()

float blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_eccentricity ( )
inline

Definition at line 800 of file node_composite_kuwahara.cc.

References blender::math::max().

Referenced by execute_anisotropic_cpu(), and execute_anisotropic_gpu().

◆ compute_sharpness()

float blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_sharpness ( )
inline

Definition at line 781 of file node_composite_kuwahara.cc.

Referenced by execute_anisotropic_cpu(), and execute_anisotropic_gpu().

◆ compute_structure_tensor()

Result blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_structure_tensor ( )
inline

Definition at line 685 of file node_composite_kuwahara.cc.

Referenced by execute_anisotropic().

◆ compute_structure_tensor_cpu()

Result blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_structure_tensor_cpu ( )
inline

◆ compute_structure_tensor_gpu()

◆ execute()

◆ execute_anisotropic()

◆ execute_anisotropic_cpu()

◆ execute_anisotropic_gpu()

◆ execute_classic()

void blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_classic ( )
inline

◆ execute_classic_convolution()

void blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_classic_convolution ( )
inline

◆ execute_classic_convolution_cpu()

◆ execute_classic_convolution_gpu()

◆ execute_classic_summed_area_table()

◆ execute_classic_summed_area_table_cpu()

void blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_classic_summed_area_table_cpu ( const Result & table,
const Result & squared_table )
inline

◆ execute_classic_summed_area_table_gpu()

◆ get_anisotropic_shader_name()

const char * blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::get_anisotropic_shader_name ( )
inline

Definition at line 400 of file node_composite_kuwahara.cc.

References is_constant_size().

Referenced by execute_anisotropic_gpu().

◆ get_classic_convolution_shader_name()

const char * blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::get_classic_convolution_shader_name ( )
inline

Definition at line 184 of file node_composite_kuwahara.cc.

References is_constant_size().

Referenced by execute_classic_convolution_gpu().

◆ get_classic_summed_area_table_shader_name()

const char * blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::get_classic_summed_area_table_shader_name ( )
inline

Definition at line 253 of file node_composite_kuwahara.cc.

References is_constant_size().

Referenced by execute_classic_summed_area_table_gpu().

◆ get_eccentricity()

float blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::get_eccentricity ( )
inline

Definition at line 820 of file node_composite_kuwahara.cc.

References blender::math::clamp(), and get_input().

◆ get_high_precision()

int blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::get_high_precision ( )
inline

Definition at line 805 of file node_composite_kuwahara.cc.

References get_input().

Referenced by execute_classic().

◆ get_sharpness()

float blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::get_sharpness ( )
inline

Definition at line 815 of file node_composite_kuwahara.cc.

References blender::math::clamp(), and get_input().

◆ get_uniformity()

int blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::get_uniformity ( )
inline

Definition at line 810 of file node_composite_kuwahara.cc.

References get_input(), and blender::math::max().

Referenced by execute_anisotropic().

◆ is_constant_size()

bool blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::is_constant_size ( )
inline

◆ NodeOperation()

blender::compositor::NodeOperation::NodeOperation ( Context & context,
DNode node )

Definition at line 39 of file node_operation.cc.


The documentation for this class was generated from the following file: