rfm2  22.0
A python-based rewrite of RenderMan for Maya
 All Classes Namespaces Files Functions Variables Pages
rfm2.txmanager_maya Namespace Reference

Classes

class  TxScriptJob
 

Functions

def manager
 
def show_help
 
def parse_maya_scene
 
def get_ext_list
 
def parse_new_maya_scene
 
def append_to_tx_list
 
def get_txmake_preset_names
 
def init
 
def cleanup
 
def show
 
def get_maya_prefs
 
def fix_node_name
 
def get_node_list
 
def get_texture_by_path
 
def invalidate_all_textures
 
def tex_done_closure
 
def register_prefs
 

Variables

int __qt_version__ = 5
 
 __ui__ = None
 
 __txmgr__ = None
 
dictionary __scriptJobs__ = {}
 

Detailed Description

Maya adapter for the texture manager.

Function Documentation

def rfm2.txmanager_maya.append_to_tx_list (   file_path_list)
def rfm2.txmanager_maya.cleanup ( )
Cleanup when the plugin is un-loaded.
def rfm2.txmanager_maya.fix_node_name (   nm)

+ Here is the caller graph for this function:

def rfm2.txmanager_maya.get_ext_list ( )

+ Here is the caller graph for this function:

def rfm2.txmanager_maya.get_maya_prefs ( )
Load user preference values from Maya storage and pass them to the
active texture manager.

Args:
- txmgr (TxManager): pointer to the active texture manager.

+ Here is the call graph for this function:

def rfm2.txmanager_maya.get_node_list ( )
Returns the list of nodes in the scene that will be inspected
   for parameters that require texture conversion.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def rfm2.txmanager_maya.get_texture_by_path (   input_path,
  nodeattr,
  ipr_mode = False,
  do_dirty_check = True,
  pre_expand = False 
)
Query the texture manager for a specific input path.

Args:
- plug (str): the node.attr plug containing the input_path.
- input_path (str): The image file name referenced in the plug.
- ipr_mode (bool): are we in IPR mode?
- do_dirty_check (bool): if false, ignore the dirty check and just return the real texture path.

Returns:
- Fully qualified path with expanded tokens (all but _MAPID_ which will be \
  resolved by the pattern).

+ Here is the call graph for this function:

def rfm2.txmanager_maya.get_txmake_preset_names ( )
Returns a list of the txmake preset names known by the txmanager
def rfm2.txmanager_maya.init ( )
Initialize the texture manager on startup so it may convert images in the
background.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def rfm2.txmanager_maya.invalidate_all_textures ( )
Loop through all the textures in the texture manager
and check if they are dirty. If they are, call invalidate texture.

+ Here is the call graph for this function:

def rfm2.txmanager_maya.manager ( )
Return the current texture manager instance.
def rfm2.txmanager_maya.parse_maya_scene ( )
Parse the maya scene to find all referenced textures.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def rfm2.txmanager_maya.parse_new_maya_scene ( )

+ Here is the call graph for this function:

def rfm2.txmanager_maya.register_prefs ( )
Register texture manager prefs in Maya.

+ Here is the call graph for this function:

def rfm2.txmanager_maya.show ( )
Opens the texture manager UI.

+ Here is the call graph for this function:

def rfm2.txmanager_maya.show_help (   url)
Delegate help function to maya.
def rfm2.txmanager_maya.tex_done_closure (   nodeattr,
  txfile 
)

+ Here is the call graph for this function:

Variable Documentation

int rfm2.txmanager_maya.__qt_version__ = 5
dictionary rfm2.txmanager_maya.__scriptJobs__ = {}
rfm2.txmanager_maya.__txmgr__ = None
rfm2.txmanager_maya.__ui__ = None