#include <eventHandler.h>#include <projtexShader.h>#include <shaderTransition.h>#include <renderRelation.h>#include <nodeRelation.h>#include <chancfg.h>#include <string>#include <texGenTransition.h>#include <colorBlendTransition.h>#include <colorMaskTransition.h>#include <textureTransition.h>#include <texMatrixTransition.h>#include <spotlightShader.h>#include <light.h>#include <loader.h>#include <look_at.h>#include <get_rel_pos.h>#include <transformTransition.h>#include <geomNode.h>#include <lightTransition.h>#include <spotlight.h>#include <projtexShadower.h>#include <spheretexHighlighter.h>#include <spheretexReflector.h>#include <trackball.h>#include <planarSlider.h>#include <transform2sg.h>#include <mouse.h>#include <graphicsWindow.h>#include <planarReflector.h>#include <stencilTransition.h>#include <plane.h>#include <auto_bind.h>#include <animControl.h>#include <animControlCollection.h>#include <renderBuffer.h>#include <planeNode.h>#include <outlineShader.h>#include <pt_NamedNode.h>#include <geomLine.h>#include <dconfig.h>Go to the source code of this file.
Functions | |
| Configure (shader_test) | |
| ConfigureFn (shader_test) | |
| PT (LensNode) tex_proj | |
| Allocates a new Lens just like this one. | |
| PT (Trackball) tex_proj_trackball | |
| PT (ProjtexShader) proj_shader | |
| PT (ProjtexShadower) proj_shadow | |
| PT (SpheretexShader) spheretex | |
| PT (SpheretexHighlighter) highlight | |
| PT (SpheretexReflector) sreflect | |
| PT (PlanarReflector) preflect | |
| PT (OutlineShader) outline_shader | |
| PT (GeomNode) proj_geom_node | |
| Returns a Geom that renders the particular glyph. | |
| PT (Spotlight) tex_proj_spot | |
| PT (PlanarSlider) ball_slider | |
| PT (MouseAndKeyboard) mak | |
| void | set_alt_trackball (Node *trackball) |
| PT (GraphicsWindow) main_win | |
| Creates a new window on the pipe, if possible. | |
| int | framework_main (int argc, char *argv[]) |
| void | herc_display_func (void) |
| void | herc_overrides_func (ChanCfgOverrides &override, std::string &) |
| void | herc_idle () |
| void | event_p (CPT_Event) |
| Toggle the projective texture being on and off. | |
| void | event_s (CPT_Event) |
| Toggle the spotlight being on and off. | |
| void | event_d (CPT_Event) |
| Toggle projected shadows. | |
| void | event_h (CPT_Event) |
| Toggle sphere texture highlight. | |
| void | event_e (CPT_Event) |
| Toggle sphere texture. | |
| void | event_m (CPT_Event) |
| Toggle sphere texture reflector. | |
| void | event_r (CPT_Event) |
| Toggle planar reflection. | |
| void | event_z (CPT_Event) |
| void | event_Z (CPT_Event) |
| void | event_o (CPT_Event) |
| Toggle outline shader. | |
| void | herc_keys (EventHandler &eh) |
| int | main (int argc, char *argv[]) |
Variables | |
| PT_NamedNode | spot_shaft |
| PT_NamedNode | herc |
| PT_NamedNode | ball |
| PT_NamedNode | hide_ball |
| ShaderTransition | shader_trans |
| bool | follow_ball |
| RenderRelation * | room_arc |
| RenderRelation * | spot_arc |
| RenderRelation * | ball_arc |
| RenderRelation * | hide_ball_arc |
| RenderRelation * | herc_arc |
| RenderRelation * | herc_rot_arc |
| RenderRelation * | camera_model_arc |
| PT_NamedNode | render |
| NodeAttributes | initial_state |
| PT_NamedNode | lights |
| PT_NamedNode | root |
| PT_NamedNode | cameras |
| void(* | extra_display_func )() |
| void(* | define_keys )(EventHandler &) |
| void(* | extra_overrides_func )(ChanCfgOverrides &, std::string &) |
| void(* | additional_idle )() |
Definition in file herc.cxx.
|
|
|
|
|
Definition at line 67 of file herc.cxx. References herc, and spot_shaft. |
|
|
Toggle projected shadows.
Definition at line 218 of file herc.cxx. References clear_shader(), NULL, room_arc, and set_alt_trackball(). |
|
|
Toggle sphere texture.
Definition at line 248 of file herc.cxx. References ball_arc, and clear_shader(). |
|
|
Toggle sphere texture highlight.
Definition at line 234 of file herc.cxx. References ball_arc, and clear_shader(). |
|
|
Toggle sphere texture reflector.
Definition at line 263 of file herc.cxx. References ball_arc, and clear_shader(). |
|
|
Toggle outline shader.
Definition at line 311 of file herc.cxx. References clear_shader(), and herc_arc. |
|
|
Toggle the projective texture being on and off.
Definition at line 166 of file herc.cxx. References ball_arc, clear_shader(), herc_arc, NULL, room_arc, and set_alt_trackball(). |
|
|
Toggle planar reflection.
Definition at line 278 of file herc.cxx. References clear_shader(), and room_arc. |
|
|
Toggle the spotlight being on and off.
Definition at line 193 of file herc.cxx. References ball_arc, clear_shader(), herc_arc, NULL, room_arc, set_alt_trackball(), and spot_shaft. |
|
|
Definition at line 298 of file herc.cxx. References hide_ball_arc. |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Definition at line 134 of file herc.cxx. References ball, ClockObject::get_dt(), ClockObject::get_global_clock(), herc, herc_arc, herc_rot_arc, length(), and look_at(). Referenced by herc_keys(). |
|
|
Definition at line 325 of file herc.cxx. References additional_idle, ball, ball_arc, camera_model, camera_model_arc, follow_ball, geomnode, herc, herc_arc, herc_idle(), herc_rot_arc, hide_ball, hide_ball_arc, loader, NULL, room, room_arc, root, spot_arc, spot_shaft, tball2cam, and tex. |
|
||||||||||||
|
Definition at line 127 of file herc.cxx. Referenced by main(). |
|
||||||||||||
|
Definition at line 528 of file herc.cxx. References extra_overrides_func, and herc_overrides_func(). |
|
|
Creates a new window on the pipe, if possible.
|
|
|
|
|
|
|
|
|
|
|
|
Returns a Geom that renders the particular glyph. This generates and returns a new GeomNode but does not automatically parent it to the ProjectionScreen node; see regenerate_screen(). The specified projector need not be the same as the projector given to the ProjectionScreen with set_projector() (although this is often what you want). num_x_verts and num_y_verts specify the number of vertices to make in the grid across the horizontal and vertical dimension of the projector, respectively; distance represents the approximate distance of the screen from the lens center. Definition at line 237 of file projectionScreen.cxx. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Allocates a new Lens just like this one.
Definition at line 41 of file cylindricalLens.cxx. |
|
|
|
|
|
Definition at line 118 of file herc.cxx. Referenced by herc_keys(). |
|
|
Definition at line 82 of file herc.cxx. Referenced by herc_idle(), herc_keys(), and load_our_models(). |
|
|
Definition at line 96 of file herc.cxx. Referenced by event_e(), event_h(), event_m(), event_p(), event_s(), herc_keys(), and load_our_models(). |
|
|
Definition at line 100 of file herc.cxx. Referenced by herc_keys(). |
|
|
|
|
|
Definition at line 116 of file herc.cxx. Referenced by main(). |
|
|
|
|
|
Definition at line 117 of file herc.cxx. Referenced by main(). |
|
|
Definition at line 92 of file herc.cxx. Referenced by event_z(), herc_keys(), and load_our_models(). |
|
|
Definition at line 81 of file herc.cxx. Referenced by ConfigureFn(), herc_idle(), and herc_keys(). |
|
|
Definition at line 98 of file herc.cxx. Referenced by event_o(), event_p(), event_s(), herc_idle(), and herc_keys(). |
|
|
Definition at line 99 of file herc.cxx. Referenced by herc_idle(), and herc_keys(). |
|
|
Definition at line 83 of file herc.cxx. Referenced by herc_keys(), and load_our_models(). |
|
|
Definition at line 97 of file herc.cxx. Referenced by event_Z(), herc_keys(), and load_our_models(). |
|
|
Definition at line 103 of file herc.cxx. Referenced by RIBGraphicsStateGuardian::prepare_display_region(). |
|
|
|
|
|
Definition at line 102 of file herc.cxx. Referenced by attach_sky(), ChanConfig::chan_eval(), and event_T(). |
|
|
Definition at line 94 of file herc.cxx. Referenced by ConfigureFn(), event_d(), event_p(), event_r(), event_s(), herc_keys(), load_our_models(), and min_shader_keys(). |
|
|
|
Definition at line 85 of file herc.cxx. Referenced by ConfigureFn(). |
|
|
Definition at line 95 of file herc.cxx. Referenced by herc_keys(), setup_shaders(), and shader_keys(). |
|
|
Definition at line 79 of file herc.cxx. Referenced by ConfigureFn(), event_s(), herc_keys(), and setup_shaders(). |
1.3