#include <planarReflector.h>
Inheritance diagram for PlanarReflector:
Public Member Functions | |
PlanarReflector (void) | |
PlanarReflector (PlaneNode *plane_node) | |
PlanarReflector (const Colorf &c) | |
PlanarReflector (PlaneNode *plane_node, const Colorf &c) | |
virtual void | pre_apply (Node *node, const AllAttributesWrapper &init_state, const AllTransitionsWrapper &net_trans, GraphicsStateGuardian *gsg) |
virtual void | apply (Node *node, const AllAttributesWrapper &init_state, const AllTransitionsWrapper &net_trans, GraphicsStateGuardian *gsg) |
INLINE void | set_save_color_buffer (bool val) |
INLINE void | set_save_depth_buffer (bool val) |
INLINE void | set_clip_to_plane (bool val) |
INLINE void | set_plane_node (PlaneNode *p) |
INLINE void | set_color (const Colorf &c) |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Protected Member Functions | |
void | init (PlaneNode *plane_node, const Colorf &c) |
PT (PixelBuffer) _color_buffer | |
PT (PixelBuffer) _depth_buffer | |
PT (PlaneNode) _plane_node | |
Protected Attributes | |
bool | _save_color_buffer |
bool | _save_depth_buffer |
bool | _clip_to_plane |
Colorf | _color |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 57 of file planarReflector.cxx. |
|
Definition at line 69 of file planarReflector.cxx. |
|
Definition at line 81 of file planarReflector.cxx. |
|
Definition at line 92 of file planarReflector.cxx. |
|
Reimplemented from Shader. Definition at line 139 of file planarReflector.cxx. References CasterShader::_casters, _color, Shader::_multipass_on, Shader::apply(), c, GraphicsStateGuardian::clear(), cm, GraphicsStateGuardianBase::copy_pixel_buffer(), GraphicsStateGuardian::get_current_display_region(), CasterShader::get_num_casters(), GraphicsStateGuardian::get_render_buffer(), PT(), RenderBuffer::T_back, RenderBuffer::T_depth, and RenderBuffer::T_stencil. |
|
Reimplemented from CasterShader. Definition at line 87 of file planarReflector.h. References CasterShader::get_class_type(), and CasterShader::init_type(). |
|
Reimplemented from CasterShader. Definition at line 76 of file planarReflector.h. Referenced by ConfigureFn(). |
|
Reimplemented from CasterShader. Definition at line 84 of file planarReflector.h. References CasterShader::get_class_type(). |
|
Definition at line 102 of file planarReflector.cxx. References _clip_to_plane, _color, _save_color_buffer, _save_depth_buffer, c, and NULL. Referenced by PlanarReflector(). |
|
Reimplemented from CasterShader. Definition at line 79 of file planarReflector.h. References CasterShader::get_class_type(), CasterShader::init_type(), and register_type(). Referenced by ConfigureFn(). |
|
Reimplemented from Shader. Definition at line 124 of file planarReflector.cxx. References PixelBuffer::depth_buffer(), GraphicsStateGuardian::get_current_display_region(), DisplayRegion::get_region_pixels(), PixelBuffer::rgb_buffer(), and w. |
|
|
|
|
|
Referenced by apply(). |
|
Definition at line 56 of file planarReflector.h. |
|
Definition at line 58 of file planarReflector.h. References c. |
|
Definition at line 57 of file planarReflector.h. References p. |
|
Definition at line 54 of file planarReflector.h. |
|
Definition at line 55 of file planarReflector.h. |
|
Definition at line 68 of file planarReflector.h. Referenced by init(). |
|
Definition at line 72 of file planarReflector.h. |
|
Definition at line 66 of file planarReflector.h. Referenced by init(). |
|
Definition at line 67 of file planarReflector.h. Referenced by init(). |
|
Reimplemented from CasterShader. Definition at line 50 of file planarReflector.cxx. |