Shinya Kitaoka 810553
#pragma once
Shinya Kitaoka 810553
Toshihiro Shimizu 890ddd
#ifndef igs_fog_h
Toshihiro Shimizu 890ddd
#define igs_fog_h
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef IGS_FOG_EXPORT
Toshihiro Shimizu 890ddd
#define IGS_FOG_EXPORT
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
namespace igs {
Shinya Kitaoka 120a6e
namespace fog {
Toshihiro Shimizu 890ddd
IGS_FOG_EXPORT bool have_change(
Shinya Kitaoka 120a6e
    const double radius  // 25.0(0 ... 100(DOUBLE_MAX))
Shinya Kitaoka 120a6e
    ,
Shinya Kitaoka 120a6e
    const double power  // 1.00(-2.00 ... 2.00)
Shinya Kitaoka 120a6e
    ,
Shinya Kitaoka 120a6e
    const double threshold_min  // 0.00(0.00 ... 1.01)
Shinya Kitaoka 120a6e
    );
Shinya Kitaoka 120a6e
IGS_FOG_EXPORT void convert(void *in, void *out, double *buffer
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
                            ,
Shinya Kitaoka 120a6e
                            const int height, const int width,
Shinya Kitaoka 120a6e
                            const int channels, const int bits
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
                            ,
Shinya Kitaoka 120a6e
                            const int number_of_thread = 1  // 1 ... INT_MAX
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
                            ,
Shinya Kitaoka 120a6e
                            const double radius = 25.0  // 0 ... 100(DOUBLE_MAX)
Shinya Kitaoka 120a6e
                            ,
Shinya Kitaoka 120a6e
                            const double curve = 1.0  // 0.01 ... 100
Shinya Kitaoka 120a6e
                            ,
Shinya Kitaoka 120a6e
                            const int polygon_number = 2  // 2 ... 16(INT_MAX)
Shinya Kitaoka 120a6e
                            ,
Shinya Kitaoka 120a6e
                            const double degree = 0  // 0 ... DOUBLE_MAX
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
                            ,
Shinya Kitaoka 120a6e
                            const double power = 1.0  // -2.00 ... 2.00
Shinya Kitaoka 120a6e
                            ,
Shinya Kitaoka 120a6e
                            const double threshold_min = 0.0  // 0.00 ... 1.01
Shinya Kitaoka 120a6e
                            ,
Shinya Kitaoka 120a6e
                            const double threshold_max = 0.0  // 0.00 ... 1.01
Shinya Kitaoka 120a6e
                            ,
Shinya Kitaoka 120a6e
                            const bool alpha_rendering_sw = false  // true,false
Shinya Kitaoka 120a6e
                            );
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif /* !igs_fog_h */