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

Scene.h File Reference

Scene maintains a list of Displayable objects and draws them to the active DisplayDevice. More...

#include "Displayable.h"
#include "NameList.h"

Go to the source code of this file.

Compounds

struct  Scene::AdvancedLightState
 AdvancedLight state data. More...

class  ColorScale
 color gradient/ramp used by value-based coloring methods. More...

struct  Scene::LightState
 Light state data. More...

class  Scene
 Contains lists of Displayable objects and draws them to a DisplayDevice. More...


Defines

#define DISP_LIGHTS   4
#define REGCLRS   33
#define EXTRACLRS   1
#define VISCLRS   (REGCLRS - EXTRACLRS)
#define MAPCLRS   1024
#define MAXCOLORS   (REGCLRS + MAPCLRS)
#define BEGREGCLRS   0
#define BEGMAP   REGCLRS
#define REGBLUE   0
#define REGRED   1
#define REGGREY   2
#define REGORANGE   3
#define REGYELLOW   4
#define REGTAN   5
#define REGSILVER   6
#define REGGREEN   7
#define REGWHITE   8
#define REGPINK   9
#define REGCYAN   10
#define REGPURPLE   11
#define REGLIME   12
#define REGMAUVRE   13
#define REGOCHRE   14
#define REGICEBLUE   15
#define REGBLACK   16
#define REGBLUE2   23
#define MAPCOLOR(a)   (a + BEGMAP)


Detailed Description

Scene maintains a list of Displayable objects and draws them to the active DisplayDevice.

The Scene has a list of Displayable objects and display commands. The command lists are used to draw the objects, the Displayable objects to prepare and update objects for drawing.

Definition in file Scene.h.


Define Documentation

#define BEGMAP   REGCLRS
 

Definition at line 48 of file Scene.h.

#define BEGREGCLRS   0
 

Definition at line 47 of file Scene.h.

Referenced by Scene::nearest_index, FileRenderer::nearest_index, and Scene::Scene.

#define DISP_LIGHTS   4
 

Definition at line 37 of file Scene.h.

Referenced by Scene::activate_adv_light, Scene::activate_light, Scene::adv_light_attenuation, Scene::adv_light_color, Scene::adv_light_color_default, Scene::adv_light_get_attenuation, Scene::adv_light_get_spotlight, Scene::adv_light_pos, Scene::adv_light_pos_default, Scene::adv_light_spotlight, Scene::define_adv_light, Scene::define_light, FileRenderer::do_activate_adv_light, FileRenderer::do_activate_light, FileRenderer::do_define_adv_light, FileRenderer::do_define_light, Scene::draw, Scene::filedraw, OpenGLDisplayDevice::init, Scene::light_color, Scene::light_color_default, VMDApp::light_highlight, VMDApp::light_move, VMDApp::light_on, Scene::light_pos, Scene::light_pos_default, VMDApp::light_rotate, Scene::move_adv_light, Scene::move_light, OpenGLRenderer::prepare3D, py_mousemode, Scene::reset_lights, Scene::rotate_light, OpenGLRenderer::setup_initial_opengl_state, text_cmd_light, text_cmd_point_light, OptiXRenderer::update_rendering_state, OpenGLRenderer::update_shader_uniforms, RenderManDisplayDevice::write_header, RayShadeDisplayDevice::write_header, R3dDisplayDevice::write_header, POV3DisplayDevice::write_header, LibGelatoDisplayDevice::write_header, and GelatoDisplayDevice::write_header.

#define EXTRACLRS   1
 

Definition at line 41 of file Scene.h.

#define MAPCLRS   1024
 

Definition at line 43 of file Scene.h.

Referenced by ColorscaleLumaChart::draw, ColorscaleImage::draw, AtomColor::find, VolumeTexture::generateColorScaleTexture, hill_reilly_ring_colorscale, and FileRenderer::nearest_index.

#define MAPCOLOR      (a + BEGMAP)
 

Definition at line 72 of file Scene.h.

Referenced by AtomColor::find, VolumeTexture::generateColorScaleTexture, and hill_reilly_ring_colorscale.

#define MAXCOLORS   (REGCLRS + MAPCLRS)
 

Definition at line 44 of file Scene.h.

Referenced by MoleculeGraphics::add_spheretube, VMDApp::color_index, FileRenderer::do_use_colors, DrawMolItem::DrawMolItem, VMDApp::num_colors, Scene::num_colors, py_color, tcl_graphics_color, tcl_graphics_spheretube, and PSDisplayDevice::write_header.

#define REGBLACK   16
 

Definition at line 67 of file Scene.h.

Referenced by Scene::Scene.

#define REGBLUE   0
 

Definition at line 51 of file Scene.h.

#define REGBLUE2   23
 

Definition at line 69 of file Scene.h.

Referenced by Scene::Scene.

#define REGCLRS   33
 

Definition at line 40 of file Scene.h.

Referenced by ColorscaleLumaChart::draw, ColorscaleImage::draw, GraphicsFltkMenu::GraphicsFltkMenu, Scene::nearest_index, FileRenderer::nearest_index, VMDApp::num_regular_colors, Scene::num_regular_colors, and Scene::Scene.

#define REGCYAN   10
 

Definition at line 61 of file Scene.h.

#define REGGREEN   7
 

Definition at line 58 of file Scene.h.

#define REGGREY   2
 

Definition at line 53 of file Scene.h.

#define REGICEBLUE   15
 

Definition at line 66 of file Scene.h.

#define REGLIME   12
 

Definition at line 63 of file Scene.h.

#define REGMAUVRE   13
 

Definition at line 64 of file Scene.h.

#define REGOCHRE   14
 

Definition at line 65 of file Scene.h.

#define REGORANGE   3
 

Definition at line 54 of file Scene.h.

#define REGPINK   9
 

Definition at line 60 of file Scene.h.

#define REGPURPLE   11
 

Definition at line 62 of file Scene.h.

#define REGRED   1
 

Definition at line 52 of file Scene.h.

#define REGSILVER   6
 

Definition at line 57 of file Scene.h.

#define REGTAN   5
 

Definition at line 56 of file Scene.h.

Referenced by DrawTool::DrawTool.

#define REGWHITE   8
 

Definition at line 59 of file Scene.h.

Referenced by FPS::FPS, and Scene::Scene.

#define REGYELLOW   4
 

Definition at line 55 of file Scene.h.

#define VISCLRS   (REGCLRS - EXTRACLRS)
 

Definition at line 42 of file Scene.h.

Referenced by MoleculeList::add_color_names, AtomColor::find, VMDApp::molecule_from_selection_list, VMDApp::molecule_new, and VMDApp::molecule_rename.


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