Nuke binary plugins 14.1.5
 
Loading...
Searching...
No Matches
DD::Image::ShutterControls Class Reference

#include <Shutter.h>

Public Types

enum  OffsetEnum { eCentredOffset , eStartOffset , eEndOffset , eCustomOffset }
 

Public Member Functions

 ShutterControls (double duration=0.5, OffsetEnum offset=eStartOffset, double customOffset=0.0)
 Constructor.
 
void knobs (Knob_Closure &f, bool earlyStore=false, const char *durationName="shutter", const char *offsetTypeName="shutteroffset", const char *customOffsetName="shuttercustomoffset")
 
double getDuration () const
 
double calcOffset () const
 
OffsetEnum getOffset () const
 
double getCustomOffset () const
 
void setDuration (double v)
 
void setOffset (OffsetEnum v)
 
void setCustomOffset (double v)
 
KnobgetDurationKnob ()
 
KnobgetOffsetKnob ()
 
KnobgetCustomOffsetKnob ()
 
void append (DD::Image::Hash &hash)
 

Detailed Description

Class used to standardise shutter controls throughout NUKE

Member Enumeration Documentation

◆ OffsetEnum

Enum used to specify what kind of shutter offset we have

Member Function Documentation

◆ knobs()

void DD::Image::ShutterControls::knobs ( Knob_Closure &  f,
bool  earlyStore = false,
const char *  durationName = "shutter",
const char *  offsetTypeName = "shutteroffset",
const char *  customOffsetName = "shuttercustomoffset" 
)

◆ getDuration()

double DD::Image::ShutterControls::getDuration ( ) const
inline

◆ calcOffset()

double DD::Image::ShutterControls::calcOffset ( ) const

Offset to the start of the shutter period from integer frame number

Referenced by DD::Image::Transform::_validate(), and DD::Image::Transform::append().

◆ getOffset()

OffsetEnum DD::Image::ShutterControls::getOffset ( ) const
inline

The type of offset.

◆ getCustomOffset()

double DD::Image::ShutterControls::getCustomOffset ( ) const
inline

The Offset if the enum is set to eCustomOffset



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com