Classes |
class | BatchManager |
class | BatchRenderable |
class | BatchRenderer |
class | BillboardText |
class | BillboardTextServer |
class | BoxServer |
class | Camera |
class | CameraServer |
class | ConeServer |
class | CylinderServer |
class | DisableRenderingSchemeListener |
class | LinesManager |
class | LinesRenderable |
class | LinesRenderer |
struct | LinesRendererDesc |
class | LinesServer |
class | Material |
struct | MaterialDefinition |
class | MaterialServer |
class | Mesh |
class | MeshInstance |
class | MeshInstanceServer |
class | MeshServer |
class | Pickable |
struct | Picked |
struct | PickRenderValues |
class | PointsManager |
class | PointsRenderable |
class | PointsRenderer |
struct | PointsRendererDesc |
class | PointsServer |
class | Renderable |
class | Renderer |
class | RenderTarget |
class | RenderTargetServer |
class | RenderTargetToROSImage |
class | RenderTexture |
class | RenderWindow |
class | Scene |
class | SceneServer |
class | ScreenRect |
class | ScreenRectRenderable |
class | ScreenRectServer |
class | Server |
struct | ShaderDefinition |
struct | ShaderParameter |
struct | ShaderSampler |
struct | ShaderUniform |
class | SimpleMeshObjectServer |
class | SphereServer |
class | SubMesh |
class | Texture |
class | TextureServer |
struct | Timer |
class | TrianglesManager |
class | TrianglesRenderable |
class | TrianglesRenderer |
struct | TrianglesRendererDesc |
class | TrianglesServer |
Typedefs |
typedef boost::shared_ptr
< BillboardText > | BillboardTextPtr |
typedef boost::shared_ptr< Camera > | CameraPtr |
typedef boost::shared_ptr
< DisableRenderingSchemeListener > | DisableRenderingSchemeListenerPtr |
typedef boost::shared_ptr
< LinesRenderable > | LinesRenderablePtr |
typedef boost::shared_ptr
< Material > | MaterialPtr |
typedef boost::shared_ptr
< MeshInstance > | MeshInstancePtr |
typedef boost::shared_ptr< Mesh > | MeshPtr |
typedef boost::shared_ptr
< ros::NodeHandle > | NodeHandlePtr |
typedef boost::shared_ptr
< PointsRenderable > | PointsRenderablePtr |
typedef boost::shared_ptr
< SubMesh > | SubMeshPtr |
typedef boost::shared_ptr
< Texture > | TexturePtr |
typedef boost::shared_ptr
< TrianglesRenderable > | TrianglesRenderablePtr |
typedef std::vector
< LinesRenderablePtr > | V_LinesRenderable |
typedef std::vector< Picked > | V_Picked |
typedef std::vector
< PickRenderValues > | V_PickRenderValues |
typedef std::vector
< PointsRenderablePtr > | V_PointsRenderable |
typedef std::vector
< ShaderParameter > | V_ShaderParameter |
typedef std::vector
< ShaderSampler > | V_ShaderSampler |
typedef std::vector
< ShaderUniform > | V_ShaderUniform |
typedef std::vector< std::string > | V_string |
typedef std::vector
< TrianglesRenderablePtr > | V_TrianglesRenderable |
Functions |
void | applyUniforms (const Ogre::HighLevelGpuProgramPtr &program, const V_ShaderUniform &uniforms) |
template<typename F > |
void | callAFunction (F f) |
Ogre::Vector3 | convert (const rve_msgs::Vector3 &v) |
Ogre::Quaternion | convert (const rve_msgs::Quaternion &q) |
Ogre::Matrix4 | convert (const rve_msgs::Matrix4 &m) |
MeshPtr | convertMesh (const rve_common::UUID &id, const rve_msgs::Mesh &mesh) |
MaterialPtr | createMaterial (const rve_msgs::Material &mat) |
void | createMaterialsForMesh (const rve_msgs::Mesh &input_mesh) |
std::string | dashToUnderscore (const std::string &str) |
std::string | descToStringID (const TrianglesRendererDesc &desc, bool alpha) |
std::string | descToStringID (const LinesRendererDesc &desc, bool alpha) |
std::string | descToStringID (const PointsRendererDesc &desc, bool alpha) |
static void | emitIncludes (std::stringstream &ss, const V_string &includes) |
static void | emitInputs (std::stringstream &ss, const V_ShaderParameter &inputs, bool &first_parameter, bool geom_shader) |
static void | emitOutputs (std::stringstream &ss, const V_ShaderParameter &outputs, bool &first_parameter) |
static void | emitSamplers (std::stringstream &ss, const V_ShaderSampler &samplers, bool &first_parameter) |
static void | emitUniforms (std::stringstream &ss, const V_ShaderUniform &uniforms, bool &first_parameter) |
void | fillFragmentShaderDefinition (const TrianglesRendererDesc &desc, ShaderDefinition &def) |
void | fillFragmentShaderDefinition (const LinesRendererDesc &desc, ShaderDefinition &def) |
void | fillFragmentShaderDefinition (const PointsRendererDesc &desc, ShaderDefinition &def) |
void | fillFragmentShaderDefinition (const rve_msgs::Material &input_mat, ShaderDefinition &def) |
void | fillGenericGPVP (ShaderDefinition &def) |
void | fillGeometryShaderDefinition (const PointsRendererDesc &desc, ShaderDefinition &def) |
void | fillPickingFragmentShaderDefinition (const PointsRendererDesc &desc, ShaderDefinition &def) |
void | fillPickingFragmentShaderDefinition (const rve_msgs::Material &input_mat, ShaderDefinition &def) |
void | fillVertexShaderDefinition (const TrianglesRendererDesc &desc, ShaderDefinition &def) |
void | fillVertexShaderDefinition (const LinesRendererDesc &desc, ShaderDefinition &def) |
void | fillVertexShaderDefinition (const PointsRendererDesc &desc, ShaderDefinition &def) |
void | fillVertexShaderDefinition (const rve_msgs::Material &input_mat, ShaderDefinition &def) |
template<typename T > |
uint32_t | float4ToInt (T t) |
static Ogre::Matrix3 | fromEulersYXZ (float y, float x, float z) |
Ogre::Vector3 | fromRobot (const rve_msgs::Vector3 &point) |
| Convert a point from robot space to ogre space.
|
Ogre::Vector3 | fromRobot (const Ogre::Vector3 &point) |
Ogre::Quaternion | fromRobot (const rve_msgs::Quaternion &quat) |
| Convert a quaternion from robot space to ogre space.
|
Ogre::Quaternion | fromRobot (const Ogre::Quaternion &quat) |
Ogre::Quaternion | fromRobotRelative (const rve_msgs::Quaternion &quat) |
Ogre::Quaternion | fromRobotRelative (const Ogre::Quaternion &quat) |
Ogre::Matrix3 | g_ogre_to_robot_matrix (fromEulersYXZ(-90, 0,-90)) |
Ogre::Quaternion | g_ogre_to_robot_quat (matToQuat(g_ogre_to_robot_matrix)) |
Ogre::Matrix3 | g_robot_to_ogre_matrix (g_ogre_to_robot_matrix.Inverse()) |
Ogre::Matrix3 | g_robot_to_ogre_normal_matrix (inverseTranspose(g_robot_to_ogre_matrix)) |
Ogre::Quaternion | g_robot_to_ogre_quat (matToQuat(g_robot_to_ogre_matrix)) |
Ogre::GpuProgramPtr | generateFragmentShader (const ShaderDefinition &in_def, bool transparent, bool shaded, const std::string &base_name) |
Ogre::GpuProgramPtr | generateGeometryShader (const ShaderDefinition &def, const std::string &base_name) |
std::pair< Ogre::MaterialPtr,
Ogre::MaterialPtr > | generateMaterialsForLines (const LinesRendererDesc &desc) |
std::pair< Ogre::MaterialPtr,
Ogre::MaterialPtr > | generateMaterialsForPoints (const PointsRendererDesc &desc) |
std::pair< Ogre::MaterialPtr,
Ogre::MaterialPtr > | generateMaterialsForTriangles (const TrianglesRendererDesc &desc) |
Ogre::MaterialPtr | generateOgreMaterial (const rve_msgs::Material &mat) |
Ogre::MaterialPtr | generateOgreMaterial (const MaterialDefinition &def) |
Ogre::GpuProgramPtr | generatePickingFragmentShader (const ShaderDefinition &in_def, const std::string &base_name) |
Ogre::GpuProgramPtr | generateVertexShader (const ShaderDefinition &def, const std::string &base_name) |
Renderer * | getRenderer () |
Server * | getServer () |
void | init (bool enable_ogre_log, const std::string &ns) |
template<typename T > |
T | intToFloat4 (uint32_t id) |
static Ogre::Matrix3 | inverseTranspose (const Ogre::Matrix3 &mat) |
MeshPtr | loadMesh (const std::string &resource_path) |
void | loadTexture (const std::string &resource_path) |
rve_render_server::Camera * | lookupCamera (Renderer *rend, const rve_common::UUID &scene_id, const rve_common::UUID &id) |
rve_render_server::Scene * | lookupScene (Renderer *rend, const rve_common::UUID &id) |
bool | lookupTextureResource (const std::string &resource, std::string &out_ogre_resource) |
std::string | materialToStringID (const rve_msgs::Material &input_mat) |
static Ogre::Quaternion | matToQuat (const Ogre::Matrix3 &mat) |
Ogre::Vector3 | normalFromRobot (const Ogre::Vector3 &normal) |
bool | rectMatches (ScreenRect *rect, const rve_common::UUID &id) |
bool | rectSort (ScreenRect *lhs, ScreenRect *rhs) |
Ogre::Vector3 | scaleFromRobot (const Ogre::Vector3 &scale) |
| Convert a scale xyz from robot space to ogre space.
|
Ogre::Vector3 | scaleFromRobot (const rve_msgs::Vector3 &scale) |
void | shutdown () |
static std::string | toString (uint32_t i) |
Variables |
static float | g_billboard_offsets [6] |
static float * | g_billboard_sphere_vertices = g_billboard_vertices |
static float | g_billboard_vertices [6 *3] |
static float | g_box_normals [6 *6 *3] |
static float | g_box_vertices [6 *6 *3] |
Ogre::Matrix3 | g_ogre_to_robot_matrix |
Ogre::Quaternion | g_ogre_to_robot_quat |
static float | g_point_vertices [3] |
Renderer * | g_renderer = 0 |
Ogre::Matrix3 | g_robot_to_ogre_matrix |
Ogre::Matrix3 | g_robot_to_ogre_normal_matrix |
Ogre::Quaternion | g_robot_to_ogre_quat |
Server * | g_server = 0 |