Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
DD::Image::LookAt Class Referenceabstract

Helper class that adds LookAt functionality. More...

#include <LookAt.h>

Inheritance diagram for DD::Image::LookAt:
DD::Image::AxisOp DD::Image::TransformGeo DD::Image::CameraOp DD::Image::LightOp DD::Image::ComplexLightOp

Public Member Functions

 LookAt (int defaultLookAxis=kAxisZPlus)
 
virtual Oplookat_input () const =0
 The lookat input op.
 
void knobs (Knob_Callback f)
 Adds the 'Look' tab and knobs for all the look at options.
 
int knobChanged (Op *parent, Knob *k)
 disables the look at input is not present
 
void lookAt (Matrix4 &matrix)
 performs the look at on the incoming matrix
 
void lookMatrixAt (const OutputContext &oc, Matrix4 &concatMatrix)
 performs the look at on the incoming matrix for a given context
 

Protected Types

enum  {
  kAxisZPlus , kAxisZMinus , kAxisYPlus , kAxisYMinus ,
  kAxisXPlus , kAxisXMinus
}
 

Protected Member Functions

void perform_lookat (Matrix4 &concatMatrix, const Matrix4 &axisMatrix)
 

Protected Attributes

Matrix4 lookat_matrix_
 Matrix for rotating to look at the look input.
 
Matrix4 my_local
 For the Axis_Knob to store into.
 
bool my_transform_normals
 
int my_lookat_axis
 
bool my_rotate_x
 
bool my_rotate_y
 
bool my_rotate_z
 
bool my_lookat_use_quat
 
double my_lookat_strength
 

Static Protected Attributes

static const char *const ms_lookat_axis_choices []
 

Detailed Description

Helper class that adds LookAt functionality.

Member Function Documentation

◆ lookat_input()

virtual Op * DD::Image::LookAt::lookat_input ( ) const
pure virtual

The lookat input op.

Implemented in DD::Image::TransformGeo.

Referenced by DD::Image::AxisOp::_validate(), knobChanged(), lookAt(), and lookMatrixAt().



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