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

#include <mesh_instance.h>

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

List of all members.

Public Member Functions

virtual void doCreate (ContextInfo &info)
virtual void doDestroy (ContextInfo &info)
virtual void getContextDependencies (V_UUID &deps)
const MeshPtrgetMesh ()
const rve_msgs::QuaterniongetOrientation () const
const rve_msgs::Vector3getPosition () const
const rve_msgs::Vector3getScale () const
void setMaterial (const MaterialPtr &mat)
void setMaterial (uint32_t submesh_index, const MaterialPtr &mat)
void setOrientation (const rve_msgs::Quaternion &orient)
void setPosition (const rve_msgs::Vector3 &pos)
void setScale (const rve_msgs::Vector3 &scale)

Private Types

typedef std::map< uint32_t,
MaterialPtr
M_Material

Private Member Functions

rve_interfaces::MeshInstanceProxy * getProxy (const ContextInfo &info)
 MeshInstance (const MeshPtr &mesh)
 ~MeshInstance ()

Private Attributes

M_Material materials_
MeshPtr mesh_
rve_msgs::Quaternion orientation_
rve_msgs::Vector3 position_
uint32_t proxy_index_
rve_msgs::Vector3 scale_

Friends

MeshInstancePtr createMeshInstance (Scene *, const MeshPtr &)
MeshInstancePtr createMeshInstance (const MeshPtr &mesh)
void destroyMeshInstance (MeshInstance *)

Detailed Description

Definition at line 53 of file mesh_instance.h.


Member Typedef Documentation

typedef std::map<uint32_t, MaterialPtr> rve_render_client::MeshInstance::M_Material [private]

Definition at line 86 of file mesh_instance.h.


Constructor & Destructor Documentation

Definition at line 71 of file mesh_instance.cpp.

Definition at line 79 of file mesh_instance.cpp.


Member Function Documentation

Implements rve_render_client::SceneObject.

Definition at line 88 of file mesh_instance.cpp.

Implements rve_render_client::SceneObject.

Definition at line 113 of file mesh_instance.cpp.

Implements rve_render_client::SceneObject.

Definition at line 119 of file mesh_instance.cpp.

Definition at line 65 of file mesh_instance.h.

Definition at line 62 of file mesh_instance.h.

Definition at line 61 of file mesh_instance.h.

rve_interfaces::MeshInstanceProxy * rve_render_client::MeshInstance::getProxy ( const ContextInfo info) [private]

Definition at line 83 of file mesh_instance.cpp.

Definition at line 63 of file mesh_instance.h.

Definition at line 151 of file mesh_instance.cpp.

void rve_render_client::MeshInstance::setMaterial ( uint32_t  submesh_index,
const MaterialPtr mat 
)

Definition at line 162 of file mesh_instance.cpp.

Definition at line 139 of file mesh_instance.cpp.

Definition at line 133 of file mesh_instance.cpp.

Definition at line 145 of file mesh_instance.cpp.


Friends And Related Function Documentation

MeshInstancePtr createMeshInstance ( Scene scene,
const MeshPtr mesh 
) [friend]
MeshInstancePtr createMeshInstance ( const MeshPtr mesh) [friend]
void destroyMeshInstance ( MeshInstance ) [friend]

Member Data Documentation

Definition at line 87 of file mesh_instance.h.

Definition at line 84 of file mesh_instance.h.

Definition at line 81 of file mesh_instance.h.

Definition at line 80 of file mesh_instance.h.

Definition at line 89 of file mesh_instance.h.

Definition at line 82 of file mesh_instance.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