OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::TextureAdjustments Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/TextureDisplacement.hpp>

Public Member Functions

bool identity () const
bool operator== (const TextureAdjustments &o) const
bool operator!= (const TextureAdjustments &o) const

Public Attributes

float brightness = 0.f
float contrast = 0.f
float sharpness = 0.f
float blur = 0.f
float hue_deg = 0.f

Detailed Description

Member Function Documentation

◆ identity()

bool Slic3r::TextureAdjustments::identity ( ) const
inline
192 {
193 return brightness == 0.f && contrast == 0.f && sharpness == 0.f && blur == 0.f && hue_deg == 0.f;
194 }
float brightness
Definition TextureDisplacement.hpp:185
float blur
Definition TextureDisplacement.hpp:188
float hue_deg
Definition TextureDisplacement.hpp:189
float contrast
Definition TextureDisplacement.hpp:186
float sharpness
Definition TextureDisplacement.hpp:187

References blur, brightness, contrast, hue_deg, and sharpness.

Referenced by Slic3r::apply_texture_adjustments(), Slic3r::GUI::GLGizmoTextureDisplacement::close_image_adjust(), and Slic3r::decode_height_texture().

Here is the caller graph for this function:

◆ operator!=()

bool Slic3r::TextureAdjustments::operator!= ( const TextureAdjustments & o) const
inline
202{ return !(*this == o); }

◆ operator==()

bool Slic3r::TextureAdjustments::operator== ( const TextureAdjustments & o) const
inline
198 {
199 return brightness == o.brightness && contrast == o.contrast && sharpness == o.sharpness &&
200 blur == o.blur && hue_deg == o.hue_deg;
201 }

References blur, brightness, contrast, hue_deg, and sharpness.

Member Data Documentation

◆ blur

float Slic3r::TextureAdjustments::blur = 0.f

◆ brightness

float Slic3r::TextureAdjustments::brightness = 0.f

◆ contrast

float Slic3r::TextureAdjustments::contrast = 0.f

◆ hue_deg

float Slic3r::TextureAdjustments::hue_deg = 0.f

◆ sharpness

float Slic3r::TextureAdjustments::sharpness = 0.f

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