#include <MaterialList.h>
Public Methods | |
MaterialList (Displayable *) | |
~MaterialList () | |
int | num () const |
const char * | material_name (int i) const |
const Material * | material (int i) const |
int | material_index (const char *nm) const |
void | set_name (int, const char *) |
void | set_ambient (int, float) |
void | set_specular (int, float) |
void | set_diffuse (int, float) |
void | set_shininess (int, float) |
void | set_mirror (int, float) |
void | set_opacity (int, float) |
void | set_outline (int, float) |
void | set_outlinewidth (int, float) |
void | set_transmode (int, float) |
float | get_ambient (int) |
float | get_specular (int) |
float | get_diffuse (int) |
float | get_shininess (int) |
float | get_mirror (int) |
float | get_opacity (int) |
float | get_outline (int) |
float | get_outlinewidth (int) |
float | get_transmode (int) |
const char * | add_material (const char *name, const char *copyfrom) |
int | delete_material (int) |
int | restore_default (int) |
Protected Methods | |
void | notify (int) |
Protected Attributes | |
NameList< Material * > * | mlist |
Displayable * | root |
int | matcounter |
Definition at line 52 of file MaterialList.h.
|
Definition at line 60 of file MaterialList.C. References NameList< Material * >::add_name, matcounter, material, mlist, root, and Displayable::update_material. |
|
Definition at line 84 of file MaterialList.C. References NameList< Material * >::data, mlist, and NameList< Material * >::num. |
|
Definition at line 148 of file MaterialList.C. References NameList< Material * >::add_name, NameList< Material * >::data, Material::ind, matcounter, material_index, mlist, NameList< Material * >::name, NULL, NameList< Material * >::num, and NameList< Material * >::typecode. Referenced by VMDApp::material_add. |
|
Definition at line 212 of file MaterialList.C. References NameList::add_name, NameList< Material * >::data, Displayable::delete_material, delete_material, Material::ind, mat, mlist, n, NameList< Material * >::name, NameList::num, NameList< Material * >::num, num, and root. Referenced by delete_material, and VMDApp::material_delete. |
|
Definition at line 175 of file MaterialList.C. References Material::ambient, NameList< Material * >::data, and mlist. Referenced by py_settings, and text_cmd_material. |
|
Definition at line 183 of file MaterialList.C. References NameList< Material * >::data, Material::diffuse, get_diffuse, and mlist. Referenced by get_diffuse, py_settings, and text_cmd_material. |
|
Definition at line 192 of file MaterialList.C. References NameList< Material * >::data, Material::mirror, and mlist. Referenced by py_settings, and text_cmd_material. |
|
Definition at line 196 of file MaterialList.C. References NameList< Material * >::data, get_opacity, mlist, and Material::opacity. Referenced by get_opacity, py_settings, and text_cmd_material. |
|
Definition at line 200 of file MaterialList.C. References NameList< Material * >::data, get_outline, mlist, and Material::outline. Referenced by get_outline, py_settings, and text_cmd_material. |
|
Definition at line 204 of file MaterialList.C. References NameList< Material * >::data, get_outlinewidth, mlist, and Material::outlinewidth. Referenced by get_outlinewidth, py_settings, and text_cmd_material. |
|
Definition at line 187 of file MaterialList.C. References NameList< Material * >::data, get_shininess, mlist, Material::shininess, SHINY_A, and SHINY_k. Referenced by get_shininess, py_settings, and text_cmd_material. |
|
Definition at line 179 of file MaterialList.C. References NameList< Material * >::data, get_specular, mlist, and Material::specular. Referenced by get_specular, py_settings, and text_cmd_material. |
|
Definition at line 208 of file MaterialList.C. References NameList< Material * >::data, get_transmode, mlist, and Material::transmode. Referenced by get_transmode, py_settings, and text_cmd_material. |
|
Definition at line 77 of file MaterialList.h. References NameList::data. Referenced by MoleculeList::add_rep, MoleculeList::change_repmat, Displayable::delete_material, MaterialList, py_material, and tcl_graphics_material. |
|
Definition at line 81 of file MaterialList.h. References NameList::typecode. Referenced by add_material, MoleculeList::change_repmat, VMDApp::material_change, VMDApp::material_delete, VMDApp::material_rename, py_add, py_change, py_material, py_rename, py_set_default, py_settings, MoleculeList::set_default_material, MoleculeList::set_material, tcl_graphics_material, and text_cmd_material. |
|
Definition at line 76 of file MaterialList.h. References NameList::name. Referenced by MaterialFltkMenu::act_on_command, GraphicsFltkMenu::act_on_command, GraphicsFltkMenu::init_materialchooser, MoleculeList::material, MoleculeList::MoleculeList, molinfo_get, VMDApp::molrep_get_material, py_listall, MoleculeList::set_material, and text_cmd_material. |
|
Definition at line 79 of file MaterialList.C. References NameList< Material * >::data, mat, mlist, root, and Displayable::update_material. Referenced by restore_default, set_ambient, set_diffuse, set_mirror, set_opacity, set_outline, set_outlinewidth, set_shininess, set_specular, and set_transmode. |
|
Definition at line 75 of file MaterialList.h. References NameList::num. Referenced by GraphicsFltkMenu::act_on_command, delete_material, GraphicsFltkMenu::init_materialchooser, py_listall, set_ambient, set_diffuse, set_mirror, set_opacity, set_outline, set_outlinewidth, set_shininess, set_specular, set_transmode, and text_cmd_material. |
|
Definition at line 237 of file MaterialList.C. References NameList< Material * >::data, mat, mlist, and notify. Referenced by VMDApp::material_restore_default. |
|
Definition at line 93 of file MaterialList.C. References Material::ambient, NameList< Material * >::data, mlist, notify, and num. Referenced by VMDApp::material_change. |
|
Definition at line 105 of file MaterialList.C. References NameList< Material * >::data, Material::diffuse, mlist, notify, and num. Referenced by VMDApp::material_change. |
|
Definition at line 118 of file MaterialList.C. References NameList< Material * >::data, Material::mirror, mlist, notify, and num. Referenced by VMDApp::material_change. |
|
Definition at line 89 of file MaterialList.C. References mlist, and NameList< Material * >::set_name. Referenced by VMDApp::material_rename. |
|
Definition at line 124 of file MaterialList.C. References NameList< Material * >::data, mlist, notify, num, and Material::opacity. Referenced by VMDApp::material_change. |
|
Definition at line 130 of file MaterialList.C. References NameList< Material * >::data, mlist, notify, num, and Material::outline. Referenced by VMDApp::material_change. |
|
Definition at line 136 of file MaterialList.C. References NameList< Material * >::data, mlist, notify, num, and Material::outlinewidth. Referenced by VMDApp::material_change. |
|
Definition at line 111 of file MaterialList.C. References NameList< Material * >::data, mlist, notify, num, Material::shininess, SHINY_A, and SHINY_k. Referenced by VMDApp::material_change. |
|
Definition at line 99 of file MaterialList.C. References NameList< Material * >::data, mlist, notify, num, and Material::specular. Referenced by VMDApp::material_change. |
|
Definition at line 142 of file MaterialList.C. References NameList< Material * >::data, mlist, notify, num, and Material::transmode. Referenced by VMDApp::material_change. |
|
Definition at line 65 of file MaterialList.h. Referenced by add_material, and MaterialList. |
|
Definition at line 55 of file MaterialList.h. Referenced by add_material, delete_material, get_ambient, get_diffuse, get_mirror, get_opacity, get_outline, get_outlinewidth, get_shininess, get_specular, get_transmode, MaterialList, notify, restore_default, set_ambient, set_diffuse, set_mirror, set_name, set_opacity, set_outline, set_outlinewidth, set_shininess, set_specular, set_transmode, and ~MaterialList. |
|
Definition at line 59 of file MaterialList.h. Referenced by delete_material, MaterialList, and notify. |