rfm2  22.0
A python-based rewrite of RenderMan for Maya
rfm2.ui.assets_browser.MayaNode Class Reference
+ Inheritance diagram for rfm2.ui.assets_browser.MayaNode:
+ Collaboration diagram for rfm2.ui.assets_browser.MayaNode:

Public Member Functions

def __init__ (self, name, nodetype)
 
def add_param (self, name, datadict)
 
def ordered_params (self)
 
def param_dict (self, name)
 
def store_transform_values (self, Tnode)
 
def has_transform (self, storage=TrStorage.k_matrix, space=TrSpace.k_world, mode=TrMode.k_flat)
 
def maya_get_attr (self, nodeattr, ptype, childattr=None)
 
def is_new_ramp (self, param)
 
def read_params (self)
 
def sort_ramp_knots (self, param_dict)
 
def default_params (self)
 
def set_connected (self, pname, ptype=None)
 
def add_param_metadata (self, pname, pdict)
 
def __str__ (self)
 
def __repr__ (self)
 

Public Attributes

 name
 
 maya_node_type
 
 rman_node_type
 
 transform
 
 hasTransform
 
 tr_type
 
 tr_mode
 
 tr_storage
 
 tr_space
 
 has3dManifold
 
 oslPath
 

Detailed Description

Class representing a node in Maya's DAG.

Constructor & Destructor Documentation

◆ __init__()

def rfm2.ui.assets_browser.MayaNode.__init__ (   self,
  name,
  nodetype 
)

Member Function Documentation

◆ __repr__()

def rfm2.ui.assets_browser.MayaNode.__repr__ (   self)

◆ __str__()

def rfm2.ui.assets_browser.MayaNode.__str__ (   self)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_param()

def rfm2.ui.assets_browser.MayaNode.add_param (   self,
  name,
  datadict 
)
simple method to make sure we respect the natural parameter
order in our output.

Arguments:
    name {str} -- the param name
    datadict {dict} -- The data dict associated with that param.
+ Here is the caller graph for this function:

◆ add_param_metadata()

def rfm2.ui.assets_browser.MayaNode.add_param_metadata (   self,
  pname,
  pdict 
)
+ Here is the caller graph for this function:

◆ default_params()

def rfm2.ui.assets_browser.MayaNode.default_params (   self)
+ Here is the call graph for this function:

◆ has_transform()

def rfm2.ui.assets_browser.MayaNode.has_transform (   self,
  storage = TrStorage.k_matrix,
  space = TrSpace.k_world,
  mode = TrMode.k_flat 
)
+ Here is the call graph for this function:

◆ is_new_ramp()

def rfm2.ui.assets_browser.MayaNode.is_new_ramp (   self,
  param 
)
Identify attributes from katana-style ramps and return the ramp name
and attribute name.
+ Here is the caller graph for this function:

◆ maya_get_attr()

def rfm2.ui.assets_browser.MayaNode.maya_get_attr (   self,
  nodeattr,
  ptype,
  childattr = None 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ordered_params()

def rfm2.ui.assets_browser.MayaNode.ordered_params (   self)

◆ param_dict()

def rfm2.ui.assets_browser.MayaNode.param_dict (   self,
  name 
)

◆ read_params()

def rfm2.ui.assets_browser.MayaNode.read_params (   self)
+ Here is the call graph for this function:

◆ set_connected()

def rfm2.ui.assets_browser.MayaNode.set_connected (   self,
  pname,
  ptype = None 
)
If a param's value provider is a connection, always set its value to
None, even if it is an array (you can not only connect to a single array
memmber and use values for other members: connected arrays need to be
fully replaced)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sort_ramp_knots()

def rfm2.ui.assets_browser.MayaNode.sort_ramp_knots (   self,
  param_dict 
)
Sort ramp knots based on position: this what PxrRamp expects.
+ Here is the caller graph for this function:

◆ store_transform_values()

def rfm2.ui.assets_browser.MayaNode.store_transform_values (   self,
  Tnode 
)
+ Here is the caller graph for this function:

Member Data Documentation

◆ has3dManifold

rfm2.ui.assets_browser.MayaNode.has3dManifold

◆ hasTransform

rfm2.ui.assets_browser.MayaNode.hasTransform

◆ maya_node_type

rfm2.ui.assets_browser.MayaNode.maya_node_type

◆ name

rfm2.ui.assets_browser.MayaNode.name

◆ oslPath

rfm2.ui.assets_browser.MayaNode.oslPath

◆ rman_node_type

rfm2.ui.assets_browser.MayaNode.rman_node_type

◆ tr_mode

rfm2.ui.assets_browser.MayaNode.tr_mode

◆ tr_space

rfm2.ui.assets_browser.MayaNode.tr_space

◆ tr_storage

rfm2.ui.assets_browser.MayaNode.tr_storage

◆ tr_type

rfm2.ui.assets_browser.MayaNode.tr_type

◆ transform

rfm2.ui.assets_browser.MayaNode.transform

The documentation for this class was generated from the following file: