Katana Plug-in APIs 0.1

RenderAction.h

00001 // Copyright (c) 2012 The Foundry Visionmongers Ltd. All Rights Reserved.
00002 
00003 #ifndef FNRENDER_RENDERACTION_H
00004 #define FNRENDER_RENDERACTION_H
00005 
00006 #include "FnAttribute/FnAttribute.h"
00007 #include "FnAttribute/FnGroupBuilder.h"
00008 #include "FnRender/FnRenderAPI.h"
00009 #include "FnRender/plugin/RenderSettings.h"
00010 
00011 namespace Foundry
00012 {
00013 namespace Katana
00014 {
00015 namespace Render
00016 {
00024     class FNRENDER_API RenderAction
00025     {
00026     public:
00031         RenderAction(const std::string& renderTargetLocation);
00032         virtual ~RenderAction() {}
00033 
00034         virtual void buildAttribute(FnAttribute::GroupBuilder& builder) const;
00035 
00044         void setRenderTargetLocation(const std::string& renderTargetLocation);
00045 
00054         void setLoadOutputInMonitor(bool loadOutputInMonitor);
00055 
00066         void setForceOverwriteTarget(bool forceOverwriteTarget);
00067 
00078         void setCreateDestinationDirectories(bool createDestinationDirectories);
00079 
00080     protected:
00081         std::string _renderTargetLocation;
00082         bool        _loadOutputInMonitor;
00083         bool        _forceOverwriteTarget;
00084         bool        _createDestinationDirectories;
00085     };
00086 
00090 }
00091 }
00092 }
00093 
00094 namespace FnKat = Foundry::Katana;
00095 
00096 #endif
 All Classes Functions Variables Typedefs Enumerations Enumerator