#include <mayaCopy.h>
Inheritance diagram for MayaCopy:
Public Member Functions | |
MayaCopy () | |
void | run () |
Protected Member Functions | |
virtual bool | copy_file (const Filename &source, const Filename &dest, CVSSourceDirectory *dir, void *extra_data, bool new_file) |
virtual string | filter_filename (const string &source) |
Private Types | |
enum | FileType { FT_maya, FT_texture } |
Private Member Functions | |
bool | copy_maya_file (const Filename &source, const Filename &dest, CVSSourceDirectory *dir) |
bool | extract_texture (MayaShaderColorDef &color_def, CVSSourceDirectory *dir) |
bool | copy_texture (const Filename &source, const Filename &dest, CVSSourceDirectory *dir) |
bool | collect_shaders () |
bool | collect_shader_for_node (const MDagPath &dag_path) |
PT (MayaApi) _maya | |
Private Attributes | |
bool | _keep_ver |
MayaShaders | _shaders |
|
Definition at line 54 of file mayaCopy.h. |
|
Definition at line 43 of file mayaCopy.cxx. References _keep_ver, ProgramBase::add_option(), ProgramBase::add_path_replace_options(), ProgramBase::add_runline(), ProgramBase::clear_runlines(), ProgramBase::dispatch_none(), and ProgramBase::set_program_description(). |
|
Definition at line 322 of file mayaCopy.cxx. References _shaders, MayaShaders::find_shader_for_node(), and MayaShaders::find_shader_for_shading_engine(). Referenced by collect_shaders(). |
|
Definition at line 280 of file mayaCopy.cxx. References collect_shader_for_node(), and nout. Referenced by copy_maya_file(). |
|
Implements CVSCopy. Definition at line 102 of file mayaCopy.cxx. References MayaCopy::ExtraData::_type, copy_maya_file(), copy_texture(), FT_maya, FT_texture, and nout. |
|
Definition at line 156 of file mayaCopy.cxx. References MayaShader::_color, _shaders, MayaShader::_transparency, MayaShaders::clear(), collect_shaders(), extract_texture(), MayaShaders::get_num_shaders(), MayaShaders::get_shader(), and Filename::length(). Referenced by copy_file(). |
|
Definition at line 264 of file mayaCopy.cxx. References CVSCopy::copy_binary_file(). Referenced by copy_file(). |
|
Definition at line 227 of file mayaCopy.cxx. References MayaShaderColorDef::_has_texture, CVSCopy::_map_dir, MayaShaderColorDef::_texture, MayaCopy::ExtraData::_type, Filename::exists(), FT_texture, CVSSourceDirectory::get_rel_to(), Filename::is_regular_file(), nout, NULL, and MayaShaderColorDef::reset_maya_texture(). Referenced by copy_maya_file(). |
|
Reimplemented from CVSCopy. Definition at line 127 of file mayaCopy.cxx. |
|
|
|
Definition at line 73 of file mayaCopy.cxx. References CVSCopy::_model_dir, ProgramBase::_program_name, CVSCopy::_source_files, MayaCopy::ExtraData::_type, FT_maya, nout, and NULL. Referenced by main(). |
|
Definition at line 74 of file mayaCopy.h. Referenced by MayaCopy(). |
|
Definition at line 77 of file mayaCopy.h. Referenced by collect_shader_for_node(), and copy_maya_file(). |