|
|
|
|
|
|
|
translateToPoints(nodeToSnap)
Translate the specified node to the average position of the current
vertex selection in the active viewer. |
source code
|
|
|
translateRotateToPoints(nodeToSnap)
Translate the specified node to the average position of the current
vertex selection in the active viewer and rotate to the orientation
of the (mean squares) best fit plane for the selection. |
source code
|
|
|
translateRotateScaleToPoints(nodeToSnap)
Translate the specified node to the average position of the current
vertex selection in the active viewer, rotate to the orientation of
the (mean squares) best fit plane for the selection and scale to the
extents of the selection. |
source code
|
|
|
translateSelectionToPoints(nodeToSnap,
vertexSelection) |
source code
|
|
|
translateRotateSelectionToPoints(nodeToSnap,
vertexSelection) |
source code
|
|
|
translateRotateScaleSelectionToPoints(nodeToSnap,
vertexSelection) |
source code
|
|
|
verifyVertexSelection(vertexSelection,
minLen) |
source code
|
|
|
|
|
|
|
|
|
translateToPointsVerified(nodeToSnap,
vertexSelection) |
source code
|
|
|
scaleToPointsVerified(nodeToScale,
vertexSelection) |
source code
|
|
|
rotateToPointsVerified(nodeToSnap,
vertexSelection) |
source code
|
|
|
translateRotateToPointsVerified(nodeToSnap,
vertexSelection) |
source code
|
|
|
translateRotateScaleToPointsVerified(nodeToSnap,
vertexSelection) |
source code
|
|
|
|
|
|
|
|
|
planeRotation(tri,
norm=None)
Calculate the rotations around the X, Y and Z axes that will align a
plane perpendicular to the Z axis with the given triangle. |
source code
|
|
|
averageNormal(vertexSelection)
averageNormal(selectionThreshold -> _nukemath.Vector3 Return a
_nukemath.Vector3 which is the average of the normals of all selected
points |
source code
|
|
_nukemath.Vector3
|
anySelectedPoint(selectionThreshold=0.5)
Return a selected point from the active viewer or the first viewer
with a selection. |
source code
|
|
iterator
|
selectedPoints(selectionThreshold=0.5)
Return an iterator which yields the position of every point currently
selected in the Viewer in turn. |
source code
|
|
|
|
iterator
|
selectedVertexInfos(selectionThreshold=0.5)
Return an iterator which yields a tuple of the index and position of
each point currently selected in the Viewer in turn. |
source code
|
|
VertexInfo
|
|
iterator
|
|
|
|
|
cameraProjectionMatrix(cameraNode)
Calculate the projection matrix for the camera based on its knob
values. |
source code
|
|
list of nuke.math.Vector2
|
projectPoints(camera=None,
points=None)
Project the given 3D point through the camera to get 2D pixel
coordinates. |
source code
|
|
nuke.math.Vector2
|
projectPoint(camera=None,
point=None)
Project the given 3D point through the camera to get 2D pixel
coordinates. |
source code
|
|
iterator yielding nuke.math.Vector2
|
projectSelectedPoints(cameraName='Camera1')
Using the specified camera, project all of the selected points into
2D pixel coordinates and return their locations. |
source code
|
|
None
|
|
None
|
|