Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends
rve_render_client::Texture Class Reference

#include <texture.h>

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

List of all members.

Classes

struct  ContextInfo

Public Member Functions

virtual void getDependencies (V_UUID &deps)
virtual const rve_common::UUIDgetID ()
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)

Detailed Description

Definition at line 50 of file texture.h.


Member Typedef Documentation

Definition at line 78 of file texture.h.


Constructor & Destructor Documentation

rve_render_client::Texture::Texture ( uint32_t  num_mips)

Definition at line 115 of file texture.cpp.


Member Function Documentation

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.

Definition at line 59 of file texture.h.

virtual const rve_common::UUID& rve_render_client::Texture::getID ( ) [inline, virtual]

Implements rve_render_client::ContextObject.

Definition at line 58 of file texture.h.

void rve_render_client::Texture::loadResource ( const std::string &  resource_path)

Definition at line 150 of file texture.cpp.

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.


Friends And Related Function Documentation

TexturePtr createTexture ( ClientContext context,
uint32_t  num_mips = 0 
) [friend]
void destroyTexture ( Texture mat) [friend]

Definition at line 48 of file texture.cpp.


Member Data Documentation

Definition at line 79 of file texture.h.

Definition at line 67 of file texture.h.

sensor_msgs::ImageConstPtr rve_render_client::Texture::image_ [private]

Definition at line 71 of file texture.h.

Definition at line 68 of file texture.h.

Definition at line 70 of file texture.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