Package nuke :: Class Viewer
[hide private]
[frames] | no frames]

Class Viewer

object --+    
         |    
 nuke.Node --+
             |
            nuke.Viewer

Instance Methods [hide private]
 
__getitem__(x, y)
x[y]
 
__len__(x)
len(x)
 
__repr__(x)
repr(x)
 
__str__(x)
str(x)
Bool
frameCached(f)
Determine whether frame /f/ is known to be in the memory cache.
FrameRange
playbackRange(self)
Return the frame range that's currently set to be played back in the viewer.@return: FrameRange.
Bool
recordMouse(f)
Determine whether frame /f/ is known to be in the memory cache.
 
recordMouseStop(f)
Stops mouse recording.
Bool
replayMouse(f)
Determine whether frame /f/ is known to be in the memory cache.
dict
roi(self)
Region of interest set in the viewer in pixel space coordinates.
bool
roiEnabled(self)
Whether the viewing of just a region of interest is enabled.
Bool
sendMouseEvent(f)
Determine whether frame /f/ is known to be in the memory cache.
None
setRoi(self, box)
Set the region of interest in pixel space.
Bool
toggleMouseTrails(f)
Determine whether frame /f/ is known to be in the memory cache.

Inherited from Node: Class, __new__, __reduce_ex__, addKnob, allKnobs, autoplace, bbox, canSetInput, channels, clones, connectInput, deepSample, deepSampleCount, dependencies, dependent, error, firstFrame, forceValidate, format, frameRange, fullName, getNumKnobs, hasError, height, help, hideControlPanel, input, inputs, isSelected, knob, knobs, lastFrame, linkableKnobs, maxInputs, maxOutputs, maximumInputs, maximumOutputs, metadata, minInputs, minimumInputs, name, numKnobs, opHashes, optionalInput, pixelAspect, proxy, readKnobs, redraw, removeKnob, resetKnobsToDefault, running, sample, screenHeight, screenWidth, setInput, setName, setSelected, setXYpos, setXpos, setYpos, showControlPanel, showInfo, shown, treeHasError, width, writeKnobs, xpos, ypos

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__getitem__(x, y)
(Indexing operator)

 

x[y]

Overrides: Node.__getitem__

__len__(x)
(Length operator)

 

len(x)

Overrides: Node.__len__

__repr__(x)
(Representation operator)

 

repr(x)

Overrides: object.__repr__

__str__(x)
(Informal representation operator)

 

str(x)

Overrides: object.__str__

roi(self)

 

Region of interest set in the viewer in pixel space coordinates. Returns None if the Viewer has no window yet.

Returns: dict
Dict with keys x, y, r and t or None.

roiEnabled(self)

 

Whether the viewing of just a region of interest is enabled. Returns None if the Viewer has no window yet.

Returns: bool
Boolean or None.

setRoi(self, box)

 

Set the region of interest in pixel space.

Parameters:
  • box - A dictionary with the x, y, r and t keys.@return: None.
Returns: None