#include <displayRegion.h>
Inheritance diagram for DisplayRegion:
Public Member Functions | |
DisplayRegion (GraphicsLayer *layer) | |
DisplayRegion (GraphicsLayer *layer, const float l, const float r, const float b, const float t) | |
DisplayRegion (int xsize, int ysize) | |
~DisplayRegion () | |
float | get_left () const |
float | get_right () const |
float | get_bottom () const |
float | get_top () const |
void | set_dimensions (float l, float r, float b, float t) |
GraphicsLayer * | get_layer () const |
GraphicsChannel * | get_channel () const |
GraphicsWindow * | get_window () const |
GraphicsPipe * | get_pipe () const |
void | set_camera (const NodePath &camera) |
const NodePath & | get_camera () const |
void | set_active (bool active) |
INLINE bool | is_active () const |
void | compute_pixels () |
void | compute_pixels (int x_size, int y_size) |
void | get_pixels (int &pl, int &pr, int &pb, int &pt) const |
void | get_region_pixels (int &xo, int &yo, int &w, int &h) const |
int | get_pixel_width () const |
int | get_pixel_height () const |
void | output (ostream &out) const |
Public Attributes | |
PUBLISHED | __pad0__: void get_dimensions(float &l |
PUBLISHED float & | r |
PUBLISHED float float & | b |
PUBLISHED float float float &t | const |
Private Member Functions | |
DisplayRegion (const DisplayRegion ©) | |
void | operator= (const DisplayRegion ©) |
void | win_display_regions_changed () |
INLINE void | do_compute_pixels (int x_size, int y_size) |
PT (Camera) _camera_node | |
PT (CullResult) _cull_result | |
Private Attributes | |
Mutex | _lock |
float | _l |
float | _r |
float | _b |
float | _t |
int | _pl |
int | _pr |
int | _pb |
int | _pt |
GraphicsLayer * | _layer |
NodePath | _camera |
bool | _active |
Friends | |
class | GraphicsLayer |
class | GraphicsEngine |
|
Definition at line 36 of file displayRegion.cxx. References compute_pixels(), and NULL. |
|
Definition at line 51 of file displayRegion.cxx. References b, compute_pixels(), NULL, r, and t. |
|
Definition at line 69 of file displayRegion.cxx. References NULL. |
|
Definition at line 84 of file displayRegion.cxx. |
|
Definition at line 104 of file displayRegion.cxx. References set_camera(). |
|
Definition at line 353 of file displayRegion.cxx. References _lock, and do_compute_pixels(). |
|
Definition at line 326 of file displayRegion.cxx. References _lock, do_compute_pixels(), GraphicsWindow::get_properties(), GraphicsWindow::get_requested_properties(), get_window(), WindowProperties::get_x_size(), WindowProperties::get_y_size(), WindowProperties::has_size(), NULL, and win. Referenced by DisplayRegion(). |
|
Referenced by compute_pixels(), and set_dimensions(). |
|
Definition at line 158 of file displayRegion.cxx. |
|
Definition at line 297 of file displayRegion.cxx. References _camera, and _lock. Referenced by NonlinearImager::add_viewer(), GraphicsEngine::cull_and_draw_together(), and GraphicsEngine::cull_bin_draw(). |
|
Definition at line 223 of file displayRegion.cxx. References _layer, _lock, GraphicsLayer::get_channel(), and NULL. |
|
Definition at line 210 of file displayRegion.cxx. |
|
Definition at line 132 of file displayRegion.cxx. |
|
Definition at line 249 of file displayRegion.cxx. References _layer, _lock, GraphicsLayer::get_pipe(), and NULL. |
|
Definition at line 406 of file displayRegion.cxx. References _lock, _pb, and _pt. Referenced by DXGraphicsStateGuardian7::prepare_texture(), and PT(). |
|
Definition at line 395 of file displayRegion.cxx. References _lock, _pl, and _pr. Referenced by DXGraphicsStateGuardian7::prepare_texture(), and PT(). |
|
Definition at line 365 of file displayRegion.cxx. |
|
|
Definition at line 145 of file displayRegion.cxx. |
|
Definition at line 171 of file displayRegion.cxx. |
|
Definition at line 236 of file displayRegion.cxx. References _layer, _lock, GraphicsLayer::get_window(), and NULL. Referenced by NonlinearImager::add_viewer(), compute_pixels(), and set_dimensions(). |
|
Referenced by GraphicsWindow::do_determine_display_regions(). |
|
Definition at line 94 of file displayRegion.cxx. |
|
Definition at line 417 of file displayRegion.cxx. |
|
|
|
|
|
Definition at line 310 of file displayRegion.cxx. References _active, _lock, and win_display_regions_changed(). Referenced by indirect_keys(). |
|
Definition at line 267 of file displayRegion.cxx. References _camera, _lock, Camera::add_display_region(), DCAST_INTO_V, NodePath::is_empty(), NodePath::node(), and NULL. Referenced by ~DisplayRegion(). |
|
Definition at line 186 of file displayRegion.cxx. References _b, _l, _lock, _r, _t, b, do_compute_pixels(), GraphicsWindow::get_properties(), get_window(), WindowProperties::get_x_size(), WindowProperties::get_y_size(), WindowProperties::has_size(), NULL, r, t, and win. |
|
Definition at line 434 of file displayRegion.cxx. References _layer, NULL, and GraphicsLayer::win_display_regions_changed(). Referenced by set_active(). |
|
Definition at line 116 of file displayRegion.h. |
|
Definition at line 115 of file displayRegion.h. |
|
Reimplemented from ClearableRegion. Definition at line 58 of file displayRegion.h. |
|
Definition at line 108 of file displayRegion.h. Referenced by set_active(). |
|
Definition at line 93 of file displayRegion.h. Referenced by get_bottom(), output(), and set_dimensions(). |
|
Definition at line 102 of file displayRegion.h. Referenced by get_camera(), and set_camera(). |
|
Definition at line 91 of file displayRegion.h. Referenced by get_left(), output(), and set_dimensions(). |
|
Definition at line 101 of file displayRegion.h. Referenced by get_channel(), get_layer(), get_pipe(), get_window(), GraphicsLayer::remove_dr(), and win_display_regions_changed(). |
|
Definition at line 89 of file displayRegion.h. Referenced by compute_pixels(), get_bottom(), get_camera(), get_channel(), get_layer(), get_left(), get_pipe(), get_pixel_height(), get_pixel_width(), get_pixels(), get_region_pixels(), get_right(), get_top(), get_window(), output(), set_active(), set_camera(), and set_dimensions(). |
|
Definition at line 98 of file displayRegion.h. Referenced by get_pixel_height(), get_pixels(), get_region_pixels(), and output(). |
|
Definition at line 96 of file displayRegion.h. Referenced by get_pixel_width(), get_pixels(), get_region_pixels(), and output(). |
|
Definition at line 97 of file displayRegion.h. Referenced by get_pixel_width(), get_pixels(), get_region_pixels(), and output(). |
|
Definition at line 99 of file displayRegion.h. Referenced by get_pixel_height(), get_pixels(), get_region_pixels(), and output(). |
|
Definition at line 92 of file displayRegion.h. Referenced by get_right(), output(), and set_dimensions(). |
|
Definition at line 94 of file displayRegion.h. Referenced by get_top(), output(), and set_dimensions(). |
|
Definition at line 58 of file displayRegion.h. |
|
Definition at line 58 of file displayRegion.h. |
|
Definition at line 58 of file displayRegion.h. |