35 #ifndef IECORENUKE_DISPLAYIOP_H
36 #define IECORENUKE_DISPLAYIOP_H
38 #include "DDImage/Iop.h"
40 #include "IECoreImage/DisplayDriverServer.h"
45 IE_CORE_FORWARDDECLARE( NukeDisplayDriver );
47 class DisplayIop :
public DD::Image::Iop
52 DisplayIop( Node *node );
53 virtual ~DisplayIop();
55 virtual const char *Class()
const;
56 virtual const char *node_help()
const;
58 virtual void knobs( DD::Image::Knob_Callback f );
59 virtual int knob_changed( DD::Image::Knob *knob );
60 virtual void append( DD::Image::Hash &hash );
61 virtual void _validate(
bool forReal );
62 virtual void engine(
int y,
int x,
int r,
const DD::Image::ChannelSet &channels, DD::Image::Row &row );
66 static const Description g_description;
67 static DD::Image::Op *build( Node *node );
69 DisplayIop *firstDisplayIop();
70 void driverCreated( NukeDisplayDriver *driver );
71 void connectToDriver( NukeDisplayDriver *driver );
72 void driverDataReceived( NukeDisplayDriver *driver,
const Imath::Box2i &box );
76 DD::Image::Format m_format;
77 DD::Image::Format m_fullSizeFormat;
79 IECoreImage::DisplayDriverServerPtr m_server;
84 unsigned int m_updateCount;
85 IECoreNuke::NukeDisplayDriverPtr m_driver;
91 #endif // IECORENUKE_DISPLAYIOP_H
void append(DD::Image::Hash &hash, const Imath::Vec2< T > &v)
Appends the contents of an Imath::Vec2 to a hash.
The IECoreNuke namespace holds all the functionality of libIECoreNuke.
Definition: BoolParameterHandler.h:40