#include <texture.h>
Classes | |
struct | ContextInfo |
Public Member Functions | |
virtual void | getDependencies (V_UUID &deps) |
virtual const rve_common::UUID & | getID () |
void | loadResource (const std::string &resource_path) |
void | setFromImage (const sensor_msgs::ImageConstPtr &image) |
Texture (uint32_t num_mips) | |
Private Types | |
typedef std::map < ClientContext *, ContextInfo > | M_ContextInfo |
Private Member Functions | |
virtual void | create (ClientContext *context) |
virtual void | destroy (ClientContext *context) |
void | send () |
Private Attributes | |
M_ContextInfo | contexts_ |
rve_common::UUID | id_ |
sensor_msgs::ImageConstPtr | image_ |
uint32_t | num_mips_ |
std::string | resource_ |
Friends | |
TexturePtr | createTexture (ClientContext *context, uint32_t num_mips) |
void | destroyTexture (Texture *mat) |
typedef std::map<ClientContext*, ContextInfo> rve_render_client::Texture::M_ContextInfo [private] |
rve_render_client::Texture::Texture | ( | uint32_t | num_mips | ) |
Definition at line 115 of file texture.cpp.
void rve_render_client::Texture::create | ( | ClientContext * | context | ) | [private, virtual] |
Implements rve_render_client::ContextObject.
Definition at line 121 of file texture.cpp.
void rve_render_client::Texture::destroy | ( | ClientContext * | context | ) | [private, virtual] |
Implements rve_render_client::ContextObject.
Definition at line 132 of file texture.cpp.
virtual void rve_render_client::Texture::getDependencies | ( | V_UUID & | deps | ) | [inline, virtual] |
Implements rve_render_client::ContextObject.
virtual const rve_common::UUID& rve_render_client::Texture::getID | ( | ) | [inline, virtual] |
Implements rve_render_client::ContextObject.
void rve_render_client::Texture::loadResource | ( | const std::string & | resource_path | ) |
Definition at line 150 of file texture.cpp.
void rve_render_client::Texture::send | ( | ) | [private] |
Definition at line 157 of file texture.cpp.
void rve_render_client::Texture::setFromImage | ( | const sensor_msgs::ImageConstPtr & | image | ) |
Definition at line 143 of file texture.cpp.
TexturePtr createTexture | ( | ClientContext * | context, |
uint32_t | num_mips = 0 |
||
) | [friend] |
void destroyTexture | ( | Texture * | mat | ) | [friend] |
Definition at line 48 of file texture.cpp.
sensor_msgs::ImageConstPtr rve_render_client::Texture::image_ [private] |
uint32_t rve_render_client::Texture::num_mips_ [private] |
std::string rve_render_client::Texture::resource_ [private] |