*/
// EXTERNAL INCLUDES
-#include <dali/public-api/actors/camera-actor.h>
-#include <dali/public-api/actors/image-actor.h>
#include <dali/public-api/render-tasks/render-task.h>
-#include <dali/public-api/shader-effects/shader-effect.h>
+#include <dali-toolkit/public-api/controls/image-view/image-view.h>
// INTERNAL INCLUDES
#include "image-filter.h"
Property::Index GetBlurStrengthPropertyIndex() const {return mBlurStrengthPropertyIndex;}
/**
- * Retrieve the constrainable object to animate or constrain the blur strength property
- * @return the constrainable object which blend the output image according to the blur strength
+ * Retrieve the handle to the object in order to animate or constrain the blur strength property
+ * @return The hadnle to the object which blends the output image according to the blur strength
*/
- Constrainable GetHandleForAnimateBlurStrength();
+ Handle GetHandleForAnimateBlurStrength();
private:
- /**
- * Setup position and parameters for camera
- */
- void SetupCamera();
/**
* Setup render tasks for blur
private: // Attributes
- CameraActor mCameraForBlur;
-
// To perform horizontal blur from mInputImage to mImageForHorz
- RenderTask mRenderTaskForHorz;
- ImageActor mActorForInput;
- FrameBufferImage mImageForHorz;
- ShaderEffect mShaderForHorz;
+ RenderTask mRenderTaskForHorz;
+ Toolkit::ImageView mActorForInput;
+ FrameBufferImage mImageForHorz;
// To perform vertical blur from mImageForHorz to mOutputImage
- RenderTask mRenderTaskForVert;
- ImageActor mActorForHorz;
- ShaderEffect mShaderForVert;
- FrameBufferImage mBlurredImage;
+ RenderTask mRenderTaskForVert;
+ Toolkit::ImageView mActorForHorz;
+ FrameBufferImage mBlurredImage;
// To blend the blurred image and input image according to the blur strength
- RenderTask mRenderTaskForBlending;
- ImageActor mActorForBlending;
- Actor mRootActorForBlending;
- ShaderEffect mShaderForBlending;
- Property::Index mBlurStrengthPropertyIndex;
+ RenderTask mRenderTaskForBlending;
+ Toolkit::ImageView mActorForBlending;
+ Actor mRootActorForBlending;
+ Property::Index mBlurStrengthPropertyIndex;
}; // class BlurTwoPassFilter