Blame toonz/sources/stdfx/gradients.h
|
Shinya Kitaoka |
810553 |
#pragma once
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef GRADIENTS_H
|
|
Toshihiro Shimizu |
890ddd |
#define GRADIENTS_H
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#include "tfxparam.h"
|
|
Toshihiro Shimizu |
890ddd |
#include "trop.h"
|
|
Toshihiro Shimizu |
890ddd |
#include "trasterfx.h"
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
struct MultiRAdialParams {
|
|
Shinya Kitaoka |
120a6e |
int m_shrink;
|
|
Shinya Kitaoka |
120a6e |
double m_scale;
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
double m_intensity;
|
|
Shinya Kitaoka |
120a6e |
double m_gridStep;
|
|
Toshihiro Shimizu |
890ddd |
};
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
/*---------------------------------------------------------------------------*/
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
//! Deals with raster tiles and invokes multiradial functions
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
void multiRadial(const TRasterP &ras, TPointD posTrasf,
|
|
Shinya Kitaoka |
120a6e |
const TSpectrumParamP colors, double period, double count,
|
|
Shinya Kitaoka |
120a6e |
double cycle, const TAffine &aff, double frame);
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
void multiLinear(const TRasterP &ras, TPointD posTrasf,
|
|
Shinya Kitaoka |
120a6e |
const TSpectrumParamP colors, double period, double count,
|
|
Shinya Kitaoka |
120a6e |
double amplitude, double freq, double phase, double cycle,
|
|
Shinya Kitaoka |
120a6e |
const TAffine &aff, double frame);
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#endif
|