00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * 00008 * Mark Alexander 00009 * Side Effects 00010 * 477 Richmond Street West 00011 * Toronto, Ontario 00012 * Canada M5V 3E7 00013 * 416-504-9876 00014 * 00015 * NAME: RU_Blend.h 00016 * 00017 * COMMENTS: 00018 * Does a composite between two images. 00019 */ 00020 #ifndef RU_BLEND_H 00021 #define RU_BLEND_H 00022 00023 #include "RU_API.h" 00024 #include "RU_Algorithm.h" 00025 00026 class RU_API RU_Blend : public RU_Algorithm 00027 { 00028 public: 00029 RU_Blend() 00030 : myBaseBlend(1.0f), myBlend1(0.0f), myBlend2(1.0f), 00031 mySingleFactorBlend(true), myBlendInvert(false) {} 00032 virtual ~RU_Blend() { } 00033 00034 float myBaseBlend; 00035 float myBlend1; 00036 float myBlend2; 00037 bool mySingleFactorBlend; 00038 bool myBlendInvert; 00039 00040 DECLARE_BINARY_OP(RU_BlendOp) 00041 DECLARE_PIXEL_OP(RU_BlendSingleOp) 00042 DECLARE_FILTER_OP(RU_BlendFilterOp) 00043 }; 00044 00045 00046 #endif
1.5.9