Eyeon:Script/Reference/Applications/Fusion/Classes/GLViewer
From VFXPedia
< Eyeon:Script | Reference | Applications | Fusion | Classes
Parent Class: Object
GLViewer
Contents |
Methods:
LoadFile | Load and display the contents of a file |
SaveFile | Save the currently displayed Image |
SetPos | Set the position of the viewer |
GetPos | Get the position of the viewer |
GetPosTable | Get the position of the viewer as a table |
SetScale | Set the scale (zoom) of the view (Scale of 0 indicates Fit to View) |
GetScale | Get the scale (zoom) of the view |
SetRot | Set the rotation of the view |
GetRot | Get the rotation angles of the view |
GetRotTable | Get the rotation angles of the view as a table |
ResetView | Resets the display to default position etc |
SetChannel | Select which channel to show |
GetChannel | Return which channel is shown |
ShowControls | Shows or hides controls on the view |
AreControlsShown | Returns true if controls are being displayed on the view |
ShowGuides | Shows or hides guides on the view |
AreGuidesShown | Returns true if image guides are being displayed on the view |
SetAspectCorrection | Enables or disables aspect correction |
GetAspectCorrection | Returns true if the viewer is correcting the aspect of images |
SetAlphaOverlayColor | Select which alpha overlay to use |
GetAlphaOverlayColor | Return which alpha overlay is being used |
Redraw | Refreshes the viewer |
Members:
No members.
Other:
Tips for GLViewer (edit)
This is a parent class for 2D and 3D viewers. 2D image viewers are instances of the GLImageViewer subclass and have additional methods to set and show the DoD, RoI or LUT.
- SetScale() needs to be followed by Refresh() to actually redraw the viewer at the new scale.