Cortex  10.0.0-a4
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
IECoreNuke::LensDistort Class Reference

#include <LensDistort.h>

Inherits Iop.

Public Types

enum  { Distort, Undistort }
 

Public Member Functions

 LensDistort (Node *node)
 
int getLensModel () const
 
PluginAttributeList & attributeList ()
 
virtual void knobs (DD::Image::Knob_Callback f)
 
virtual int knob_changed (DD::Image::Knob *k)
 
virtual void append (DD::Image::Hash &hash)
 
virtual void _request (int x, int y, int r, int t, DD::Image::ChannelMask channels, int count)
 
virtual const char * Class () const
 
virtual const char * node_help () const
 
virtual void _validate (bool for_real)
 
virtual void engine (int y, int x, int r, DD::Image::ChannelMask channels, DD::Image::Row &outrow)
 

Static Public Member Functions

static void buildDynamicKnobs (void *, DD::Image::Knob_Callback f)
 
static void addDynamicKnobs (void *, DD::Image::Knob_Callback f)
 
static DD::Image::Op * build (Node *node)
 

Static Public Attributes

static const Iop::Description m_description
 

Detailed Description

LensDistort Uses the IECore::LensModel libraries to distort or undistort a plate or sequence. The LensDistort node provides a nuke interface to the IECore::LensDistort libraries. It queries any registered lens models, displaying them within the pull-down menu of the "lens model" knob. When a lens model is selected the node will dynamically create the required knobs on the UI panel. An additional knob has been added to allow the input of a sequence of lens models which have been serialized into .cob files.

Weta Digitals LensDistortion node was referenced when designing this node. Their source code is available freely at: https://github.com/wetadigital/lensDistortion_3de


The documentation for this class was generated from the following file: