_nuke :: GeoSelect_Knob :: Class GeoSelect_Knob
[hide private]
[frames] | no frames]

Class GeoSelect_Knob

object --+    
         |    
 nuke.Knob --+
             |
            GeoSelect_Knob

A knob which allows selection of parts of a 3D object.

Instance Methods [hide private]
 
__delattr__(...)
x.__delattr__('name') <==> del x.name
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
 
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
list of lists of floats
getFaceWeights(self)
Returns the selection weight for each face as a float.
_geo.GeometryList
getGeometry(self)
Get the geometry which this knob can select from.
list of lists of floats
getSelectedFaces(self)
Returns the selection for each face as a float.
list of lists of floats
getSelection(self)
Returns the selection for each vertex as a float.
list of lists of floats
getSelectionWeights(self)
Returns the selection weights for each vertex as a float.

Inherited from nuke.Knob: Class, __init__, __new__, clearAnimated, clearFlag, critical, debug, enabled, error, fromScript, fullyQualifiedName, getDerivative, getFlag, getIntegral, getKeyIndex, getKeyList, getKeyTime, getNthDerivative, getNumKeys, getValue, getValueAt, hasExpression, isAnimated, isKey, isKeyAt, label, name, node, removeKey, removeKeyAt, setAnimated, setEnabled, setExpression, setFlag, setLabel, setName, setTooltip, setValue, setValueAt, setVisible, toScript, tooltip, value, visible, warning

Inherited from object: __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__delattr__(...)

 

x.__delattr__('name') <==> del x.name

Overrides: object.__delattr__

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__setattr__(...)

 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__

getFaceWeights(self)

 

Returns the selection weight for each face as a float. If you access the result as selection[obj][fc], then obj is the index of the object in the input geometry and fc is the index of the face in that object.

Returns: list of lists of floats

getSelectedFaces(self)

 

Returns the selection for each face as a float. If you access the result as selection[obj][fc], then obj is the index of the object in the input geometry and fc is the index of the face in that object.

Returns: list of lists of floats

getSelection(self)

 

Returns the selection for each vertex as a float. If you access the result as selection[obj][pt], then obj is the index of the object in the input geometry and pt is the index of the point in that object.

Returns: list of lists of floats

getSelectionWeights(self)

 

Returns the selection weights for each vertex as a float. If you access the result as selection[obj][pt], then obj is the index of the object in the input geometry and pt is the index of the point in that object. LALA

Returns: list of lists of floats