Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

cmd_display.C File Reference

#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <tcl.h>
#include "config.h"
#include "DisplayDevice.h"
#include "Axes.h"
#include "CommandQueue.h"
#include "MoleculeList.h"
#include "VMDApp.h"
#include "Stage.h"
#include "TclCommands.h"
#include "Scene.h"
#include "FPS.h"

Go to the source code of this file.

Defines

#define TCL_RET(fmt, val)

Functions

int text_cmd_display (ClientData cd, Tcl_Interp *interp, int argc, const char *argv[])
int text_cmd_light (ClientData cd, Tcl_Interp *interp, int argc, const char *argv[])
int text_cmd_point_light (ClientData cd, Tcl_Interp *interp, int argc, const char *argv[])
int text_cmd_axes (ClientData cd, Tcl_Interp *interp, int argc, const char *argv[])
int text_cmd_stage (ClientData cd, Tcl_Interp *interp, int argc, const char *argv[])


Define Documentation

#define TCL_RET fmt,
val   
 

Value:

sprintf(s, fmt, val);          \
Tcl_AppendElement(interp, s);  \
return TCL_OK

Definition at line 54 of file cmd_display.C.

Referenced by text_cmd_display.


Function Documentation

int text_cmd_axes ClientData    cd,
Tcl_Interp *    interp,
int    argc,
const char *    argv[]
 

Definition at line 676 of file cmd_display.C.

References VMDApp::axes, VMDApp::axes_set_location, Axes::loc_description, Axes::location, Axes::locations, NULL, and strupncmp.

int text_cmd_display ClientData    cd,
Tcl_Interp *    interp,
int    argc,
const char *    argv[]
 

Definition at line 59 of file cmd_display.C.

References DisplayDevice::aa_enabled, DisplayDevice::ao_enabled, Scene::background_mode, DisplayDevice::cache_mode, DisplayDevice::cache_name, DisplayDevice::cueing_enabled, DisplayDevice::culling_enabled, VMDApp::depthcue_set_density, VMDApp::depthcue_set_end, VMDApp::depthcue_set_mode, VMDApp::depthcue_set_start, VMDApp::display, VMDApp::display_get_size, VMDApp::display_set_aa, VMDApp::display_set_ao, VMDApp::display_set_ao_ambient, VMDApp::display_set_ao_direct, VMDApp::display_set_background_mode, VMDApp::display_set_cachemode, VMDApp::display_set_culling, VMDApp::display_set_depthcue, VMDApp::display_set_dof, VMDApp::display_set_dof_fnumber, VMDApp::display_set_dof_focal_dist, VMDApp::display_set_eyesep, VMDApp::display_set_farclip, VMDApp::display_set_focallen, VMDApp::display_set_fps, VMDApp::display_set_nearclip, VMDApp::display_set_position, VMDApp::display_set_projection, VMDApp::display_set_rendermode, VMDApp::display_set_screen_distance, VMDApp::display_set_screen_height, VMDApp::display_set_shadows, VMDApp::display_set_size, VMDApp::display_set_stereo, VMDApp::display_set_stereo_swap, VMDApp::display_update, VMDApp::display_update_on, VMDApp::display_update_status, VMDApp::display_update_ui, Displayable::displayed, DisplayDevice::distance_to_screen, DisplayDevice::dof_enabled, DisplayDevice::eye_dist, DisplayDevice::eyesep, DisplayDevice::far_clip, VMDApp::fps, DisplayDevice::get_ao_ambient, DisplayDevice::get_ao_direct, DisplayDevice::get_cue_density, DisplayDevice::get_cue_end, DisplayDevice::get_cue_mode, DisplayDevice::get_cue_start, DisplayDevice::get_dof_fnumber, DisplayDevice::get_dof_focal_dist, DisplayDevice::get_eye_dir, DisplayDevice::get_eye_pos, DisplayDevice::get_eye_up, DisplayDevice::get_projection, DisplayDevice::near_clip, NULL, DisplayDevice::num_cache_modes, DisplayDevice::num_projections, DisplayDevice::num_render_modes, DisplayDevice::num_stereo_modes, DisplayDevice::projection_name, DisplayDevice::render_mode, DisplayDevice::render_name, VMDApp::scene, VMDApp::scene_resetview, DisplayDevice::screen_height, DisplayDevice::set_eye_dir, DisplayDevice::set_eye_pos, DisplayDevice::set_eye_up, DisplayDevice::shadows_enabled, DisplayDevice::stereo_mode, DisplayDevice::stereo_name, DisplayDevice::stereo_swap, strupncmp, tcl_get_vector, and TCL_RET.

int text_cmd_light ClientData    cd,
Tcl_Interp *    interp,
int    argc,
const char *    argv[]
 

Definition at line 436 of file cmd_display.C.

References DISP_LIGHTS, Scene::light_active, VMDApp::light_highlight, Scene::light_highlighted, VMDApp::light_move, VMDApp::light_on, Scene::light_pos, Scene::light_pos_default, VMDApp::light_rotate, n, NULL, num, VMDApp::scene, strupncmp, and tcl_get_vector.

int text_cmd_point_light ClientData    cd,
Tcl_Interp *    interp,
int    argc,
const char *    argv[]
 

Definition at line 537 of file cmd_display.C.

References Scene::activate_adv_light, Scene::adv_light_active, Scene::adv_light_attenuation, Scene::adv_light_get_attenuation, Scene::adv_light_highlighted, Scene::adv_light_pos, Scene::adv_light_pos_default, DISP_LIGHTS, Scene::highlight_adv_light, VMDApp::light_rotate, Scene::move_adv_light, n, NULL, num, VMDApp::scene, strupncmp, and tcl_get_vector.

int text_cmd_stage ClientData    cd,
Tcl_Interp *    interp,
int    argc,
const char *    argv[]
 

Definition at line 716 of file cmd_display.C.

References Stage::loc_description, Stage::location, Stage::locations, NULL, num, Stage::panels, Stage::size, VMDApp::stage, VMDApp::stage_set_location, VMDApp::stage_set_numpanels, VMDApp::stage_set_size, and strupncmp.


Generated on Fri Nov 8 02:45:54 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002