Public Member Functions | Protected Member Functions | Protected Attributes
rve_render_client::RenderTarget Class Reference

#include <render_target.h>

Inheritance diagram for rve_render_client::RenderTarget:
Inheritance graph
[legend]

List of all members.

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::UUIDgetID ()
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
ClientContextgetContext ()
rve_interfaces::RenderTargetProxy * getProxy ()

Protected Attributes

rve_render_client::CameraWPtr camera_
rve_common::UUID camera_id_
rve_common::UUID camera_scene_id_
ClientContextcontext_
uint32_t height_
rve_common::UUID id_
InterfaceHandle proxy_handle_
uint32_t width_

Detailed Description

Definition at line 53 of file render_target.h.


Constructor & Destructor Documentation

rve_render_client::RenderTarget::RenderTarget ( uint32_t  width,
uint32_t  height 
)

Definition at line 49 of file render_target.cpp.

Definition at line 58 of file render_target.cpp.


Member Function Documentation

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.

Definition at line 162 of file render_target.cpp.

virtual void rve_render_client::RenderTarget::doCreate ( ) [protected, pure virtual]

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.

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.


Member Data Documentation

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.

Definition at line 84 of file render_target.h.

Definition at line 87 of file render_target.h.

Definition at line 88 of file render_target.h.

Definition at line 85 of file render_target.h.

Definition at line 86 of file render_target.h.


The documentation for this class was generated from the following files:


rve_render_client
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:31:32