|
| OutputContext () |
| Default ctor sets frame=0.0, view=0, and lineReadPreference=ePreferScanline.
|
|
| OutputContext (double frame, int view=-1) |
|
double | frame () const |
|
void | setFrame (double v) |
|
int | view () const |
|
void | setView (int v) |
|
| mFnDeprecatedInNuke14 ("view has been deprecated, use setView instead.") void view(int v) |
|
void | setLineReadPreference (LineReadPreference linePreference) |
|
LineReadPreference | lineReadPreference () const |
|
void | append (Hash &) const |
|
bool | operator== (const OutputContext &b) const |
|
bool | operator!= (const OutputContext &b) const |
|
bool | operator< (const OutputContext &b) const |
|
bool | operator> (const OutputContext &b) const |
|
const std::string & | viewname () const |
|
const Format * | to_proxy_rel (const Format &from, Format &to, const OutputContext &rel) const |
|
bool | sameProxy (const DD::Image::OutputContext &b) const |
|
ProxySetting | proxy () const |
|
void | setProxy (ProxySetting v) |
|
float | scale_x () const |
|
float | scale_y () const |
|
float | translate_x () const |
|
float | translate_y () const |
|
void | set (ProxySetting v, float sx, float sy, float tx, float ty) |
| Set all proxy parameters.
|
|
void | setProxyscale (float scale) |
|
void | setProxyscale (float sx, float sy) |
|
void | setProxyscale (const Format &fullsize, const Format &proxysize) |
|
void | setProxyscale (const Matrix4 &) |
|
void | scale (float scale) |
|
void | scale (float sx, float sy) |
|
void | translate (float x, float y) |
|
bool | isIdentity () const |
|
void | to_proxy (Matrix4 &) const |
|
void | to_proxy_wh (double &w, double &h) const |
|
void | to_proxy_wh (float &w, float &h) const |
|
double | to_proxy_w (double w) const |
|
double | to_proxy_h (double w) const |
|
void | to_proxy_xy (double &x, double &y) const |
|
void | to_proxy_xy (float &x, float &y) const |
|
double | to_proxy_x (double w) const |
|
double | to_proxy_y (double w) const |
|
double | from_proxy_x (double x) const |
|
double | from_proxy_y (double y) const |
|
void | to_proxy_box (DD::Image::Box &box) const |
|
void | to_proxy_area (double &w, double &h) const |
|
double | to_proxy_area (double area) const |
|
void | to_proxy (const Format &from, Format &to) const |
|
const Format * | to_proxy_rel (const Format &from, Format &to, const ProxyContext &) const |
|
double | to_proxy_pixel_aspect (double pa) const |
|
void | from_proxy (Matrix4 &) const |
|
void | from_proxy_xy (double &x, double &y) const |
|
void | from_proxy_wh (double &w, double &h) const |
|
void | from_proxy_xy (float &x, float &y) const |
|
void | from_proxy_wh (float &w, float &h) const |
|
double | from_proxy_area (double area) const |
|
double | from_proxy_pixel_aspect (double pa) const |
|
void | appendProxy (Hash &hash) const |
| Append the values affecting proxy scaling to the hash (i.e. not frame or view)
|
|
|
static void(* | create_view )(const std::string &s) |
|
static int(* | viewIndex )(const std::string &viewName, Op *op) |
|
static void(* | createView )(const std::string &viewName, const std::string &color, Op *op) |
|
static const std::string &(* | viewName )(int index, Op *op) |
|
static std::string(* | viewShortName )(int index, Op *op) |
|
static void(* | setViewNames )(const std::vector< std::string > &viewNames, Op *op) |
| Sets the op's root node to have view's named viewNames.
|
|
static int(* | viewCount )(Op *op) |
| Returns the number of views on the op's root node.
|
|
static bool(* | hasMultipleViews )(Op *op) |
| Returns true if op's root node has more than one view.
|
|
This is a block of data that is passed up the Op tree. The context modifies the values that are stored by knobs. An Op can further use information from it (such as the frame number) to modify it's behavior, by implementing Op::setOutputContext(). And an Op can modify the context that is used by each input, by implementing Op::inputContext().