15 #ifndef NONLINEARIMAGER_H
16 #define NONLINEARIMAGER_H
18 #include "pandabase.h"
20 #include "projectionScreen.h"
21 #include "displayRegion.h"
22 #include "graphicsOutput.h"
25 #include "pandaNode.h"
27 #include "pointerTo.h"
29 #include "graphicsEngine.h"
30 #include "callbackObject.h"
31 #include "asyncTask.h"
100 int add_screen(
const NodePath &screen,
const string &name);
101 int find_screen(
const NodePath &screen)
const;
102 void remove_screen(
int index);
103 void remove_all_screens();
105 int get_num_screens()
const;
106 NodePath get_screen(
int index)
const;
107 MAKE_SEQ(get_screens, get_num_screens, get_screen);
109 MAKE_SEQ(get_buffers, get_num_screens, get_buffer);
111 void set_texture_size(
int index,
int width,
int height);
112 void set_source_camera(
int index,
const NodePath &source_camera);
114 void set_screen_active(
int index,
bool active);
115 bool get_screen_active(
int index)
const;
119 void remove_viewer(
int index);
120 void remove_all_viewers();
122 void set_viewer_camera(
int index,
const NodePath &viewer_camera);
123 NodePath get_viewer_camera(
int index)
const;
124 NodePath get_viewer_scene(
int index)
const;
126 int get_num_viewers()
const;
128 MAKE_SEQ(get_viewers, get_num_viewers, get_viewer);
136 static AsyncTask::DoneStatus recompute_callback(
GenericAsyncTask *task,
void *data);
137 void recompute_if_stale();
143 PT(
Camera) _internal_camera;
165 int _tex_width, _tex_height;
173 void recompute_screen(Screen &screen,
size_t vi);
186 #include "nonlinearImager.I"
A node that contains a Lens.
This class object combines the rendered output of a 3-d from one or more linear (e.g.
Associates a generic C-style function pointer with an AsyncTask object.
A ProjectionScreen implements a simple system for projective texturing.
This is a base class for the various different classes that represent the result of a frame of render...
This class represents a concrete task performed by an AsyncManager.
Encapsulates all the communication with a particular instance of a given rendering backend...
A rectangular subregion within a window for rendering into.
This class is the main interface to controlling the render process.
This is a sequence number that increments monotonically.
A node that can be positioned around in the scene graph to represent a point of view for rendering a ...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...