Katana Plug-in APIs 0.1

ShadingNodeConnectionDescription.h

00001 // Copyright (c) 2013 The Foundry Visionmongers Ltd. All Rights Reserved.
00002 
00003 #ifndef FNRENDEROUTPUTUTILS_SHADINGNODECONNECTIONDESCRIPTION_H
00004 #define FNRENDEROUTPUTUTILS_SHADINGNODECONNECTIONDESCRIPTION_H
00005 
00006 #include <iostream>
00007 #include <vector>
00008 
00009 #include "FnRenderOutputUtils/FnRenderOutputUtilsAPI.h"
00010 #include "FnRenderOutputUtils/ns.h"
00011 #include "FnRenderOutputUtils/suite/FnRenderOutputUtilsSuite.h"
00012 
00013 FNRENDEROUTPUTUTILS_NAMESPACE_ENTER
00014 {
00015 namespace RenderOutputUtils
00016 {
00017 
00024     class FNRENDEROUTPUTUTILS_API ShadingNodeConnectionDescription
00025     {
00026     public:
00027 
00028         ShadingNodeConnectionDescription(ShadingNodeConnectionDescriptionHandle handle);
00029         ~ShadingNodeConnectionDescription();
00030 
00031         ShadingNodeConnectionDescription(const ShadingNodeConnectionDescription& rhs);
00032         ShadingNodeConnectionDescription& operator=(const ShadingNodeConnectionDescription& rhs);
00033 
00037         bool isValid() const {return _handle != 0x0;}
00038 
00042         std::string getName() const;
00043 
00047         std::string getConnectedNodeName() const;
00048 
00052         std::string getConnectedPortName() const;
00053 
00054     protected:
00055         void acceptHandle(const ShadingNodeConnectionDescription &rhs);
00056 
00057     private:
00058         ShadingNodeConnectionDescriptionHandle _handle;
00059     };
00064 }  // namespace RenderOutputUtils
00065 }
00066 FNRENDEROUTPUTUTILS_NAMESPACE_EXIT
00067 
00068 #endif
 All Classes Functions Variables Typedefs Enumerations Enumerator