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 {
Toshihiro Shimizu 890ddd
	int m_shrink;
Toshihiro Shimizu 890ddd
	double m_scale;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	double m_intensity;
Toshihiro Shimizu 890ddd
	double m_gridStep;
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
/*---------------------------------------------------------------------------*/
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//!Deals with raster tiles and invokes multiradial functions
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void multiRadial(
Toshihiro Shimizu 890ddd
	const TRasterP &ras,
Toshihiro Shimizu 890ddd
	TPointD posTrasf,
Toshihiro Shimizu 890ddd
	const TSpectrumParamP colors,
Toshihiro Shimizu 890ddd
	double period,
Toshihiro Shimizu 890ddd
	double count,
Toshihiro Shimizu 890ddd
	double cycle,
Toshihiro Shimizu 890ddd
	const TAffine &aff,
Toshihiro Shimizu 890ddd
	double frame);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void multiLinear(
Toshihiro Shimizu 890ddd
	const TRasterP &ras,
Toshihiro Shimizu 890ddd
	TPointD posTrasf,
Toshihiro Shimizu 890ddd
	const TSpectrumParamP colors,
Toshihiro Shimizu 890ddd
	double period,
Toshihiro Shimizu 890ddd
	double count,
Toshihiro Shimizu 890ddd
	double amplitude,
Toshihiro Shimizu 890ddd
	double freq,
Toshihiro Shimizu 890ddd
	double phase,
Toshihiro Shimizu 890ddd
	double cycle,
Toshihiro Shimizu 890ddd
	const TAffine &aff,
Toshihiro Shimizu 890ddd
	double frame);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif