#include <render_target.h>
Public Member Functions | |
void | attachCamera (const CameraPtr &cam) |
ScreenRectPtr | createScreenRect (uint32_t zorder=0, float x0=0.0, float y0=0.0, float x1=1.0, float y1=1.0) |
virtual void | getDependencies (V_UUID &deps) |
virtual const rve_common::UUID & | getID () |
std::string | getNamespace () |
void | pick (uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2, boost::function< void(const rve_rpc::MethodResponse< rve_interfaces::RenderTarget::pickResponse > &)>) |
RenderTarget (uint32_t width, uint32_t height) | |
void | requestRender () |
void | resize (uint32_t width, uint32_t height) |
virtual | ~RenderTarget () |
Protected Member Functions | |
virtual void | create (ClientContext *context) |
virtual void | destroy (ClientContext *context) |
void | destroyScreenRect (ScreenRect *) |
virtual void | doCreate ()=0 |
ClientContext * | getContext () |
rve_interfaces::RenderTargetProxy * | getProxy () |
Protected Attributes | |
rve_render_client::CameraWPtr | camera_ |
rve_common::UUID | camera_id_ |
rve_common::UUID | camera_scene_id_ |
ClientContext * | context_ |
uint32_t | height_ |
rve_common::UUID | id_ |
InterfaceHandle | proxy_handle_ |
uint32_t | width_ |
Definition at line 53 of file render_target.h.
rve_render_client::RenderTarget::RenderTarget | ( | uint32_t | width, |
uint32_t | height | ||
) |
Definition at line 49 of file render_target.cpp.
rve_render_client::RenderTarget::~RenderTarget | ( | ) | [virtual] |
Definition at line 58 of file render_target.cpp.
void rve_render_client::RenderTarget::attachCamera | ( | const CameraPtr & | cam | ) |
Definition at line 120 of file render_target.cpp.
void rve_render_client::RenderTarget::create | ( | ClientContext * | context | ) | [protected, virtual] |
Implements rve_render_client::ContextObject.
Reimplemented in rve_render_client::RenderOffscreen.
Definition at line 69 of file render_target.cpp.
ScreenRectPtr rve_render_client::RenderTarget::createScreenRect | ( | uint32_t | zorder = 0 , |
float | x0 = 0.0 , |
||
float | y0 = 0.0 , |
||
float | x1 = 1.0 , |
||
float | y1 = 1.0 |
||
) |
Definition at line 172 of file render_target.cpp.
void rve_render_client::RenderTarget::destroy | ( | ClientContext * | context | ) | [protected, virtual] |
Implements rve_render_client::ContextObject.
Reimplemented in rve_render_client::RenderOffscreen.
Definition at line 92 of file render_target.cpp.
void rve_render_client::RenderTarget::destroyScreenRect | ( | ScreenRect * | rect | ) | [protected] |
Definition at line 162 of file render_target.cpp.
virtual void rve_render_client::RenderTarget::doCreate | ( | ) | [protected, pure virtual] |
ClientContext* rve_render_client::RenderTarget::getContext | ( | ) | [inline, protected] |
Definition at line 82 of file render_target.h.
virtual void rve_render_client::RenderTarget::getDependencies | ( | V_UUID & | deps | ) | [inline, virtual] |
Implements rve_render_client::ContextObject.
Definition at line 69 of file render_target.h.
virtual const rve_common::UUID& rve_render_client::RenderTarget::getID | ( | ) | [inline, virtual] |
Implements rve_render_client::ContextObject.
Definition at line 68 of file render_target.h.
std::string rve_render_client::RenderTarget::getNamespace | ( | ) |
Definition at line 196 of file render_target.cpp.
rve_interfaces::RenderTargetProxy * rve_render_client::RenderTarget::getProxy | ( | ) | [protected] |
Definition at line 62 of file render_target.cpp.
void rve_render_client::RenderTarget::pick | ( | uint32_t | x1, |
uint32_t | y1, | ||
uint32_t | x2, | ||
uint32_t | y2, | ||
boost::function< void(const rve_rpc::MethodResponse< rve_interfaces::RenderTarget::pickResponse > &)> | callback | ||
) |
Definition at line 143 of file render_target.cpp.
Definition at line 153 of file render_target.cpp.
void rve_render_client::RenderTarget::resize | ( | uint32_t | width, |
uint32_t | height | ||
) |
Definition at line 102 of file render_target.cpp.
rve_render_client::CameraWPtr rve_render_client::RenderTarget::camera_ [protected] |
Definition at line 91 of file render_target.h.
Definition at line 89 of file render_target.h.
Definition at line 90 of file render_target.h.
ClientContext* rve_render_client::RenderTarget::context_ [protected] |
Definition at line 84 of file render_target.h.
uint32_t rve_render_client::RenderTarget::height_ [protected] |
Definition at line 87 of file render_target.h.
rve_common::UUID rve_render_client::RenderTarget::id_ [protected] |
Definition at line 88 of file render_target.h.
Definition at line 85 of file render_target.h.
uint32_t rve_render_client::RenderTarget::width_ [protected] |
Definition at line 86 of file render_target.h.