Public Member Functions | Protected Attributes | Friends | List of all members
rviz::Swatch Class Reference

#include <map_display.h>

Public Member Functions

 Swatch (MapDisplay *parent, unsigned int x, unsigned int y, unsigned int width, unsigned int height, float resolution)
void updateAlpha (const Ogre::SceneBlendType sceneBlending, bool depthWrite, AlphaSetter *alpha_setter)
void updateData ()
 ~Swatch ()

Protected Attributes

unsigned int height_
Ogre::ManualObject * manual_object_
Ogre::MaterialPtr material_
Ogre::SceneNode * scene_node_
Ogre::TexturePtr texture_
unsigned int width_
unsigned int x_
unsigned int y_


class MapDisplay

Detailed Description

Definition at line 68 of file map_display.h.

Constructor & Destructor Documentation

◆ Swatch()

rviz::Swatch::Swatch ( MapDisplay parent,
unsigned int  x,
unsigned int  y,
unsigned int  width,
unsigned int  height,
float  resolution 

Definition at line 81 of file map_display.cpp.

◆ ~Swatch()

rviz::Swatch::~Swatch ( )

Definition at line 166 of file map_display.cpp.

Member Function Documentation

◆ updateAlpha()

void rviz::Swatch::updateAlpha ( const Ogre::SceneBlendType  sceneBlending,
bool  depthWrite,
AlphaSetter alpha_setter 

Definition at line 171 of file map_display.cpp.

◆ updateData()

void rviz::Swatch::updateData ( )

Definition at line 183 of file map_display.cpp.

Friends And Related Function Documentation

◆ MapDisplay

friend class MapDisplay

Definition at line 70 of file map_display.h.

Member Data Documentation

◆ height_

unsigned int rviz::Swatch::height_

Definition at line 89 of file map_display.h.

◆ manual_object_

Ogre::ManualObject* rviz::Swatch::manual_object_

Definition at line 85 of file map_display.h.

◆ material_

Ogre::MaterialPtr rviz::Swatch::material_

Definition at line 87 of file map_display.h.

◆ parent_

MapDisplay* rviz::Swatch::parent_

Definition at line 84 of file map_display.h.

◆ scene_node_

Ogre::SceneNode* rviz::Swatch::scene_node_

Definition at line 88 of file map_display.h.

◆ texture_

Ogre::TexturePtr rviz::Swatch::texture_

Definition at line 86 of file map_display.h.

◆ width_

unsigned int rviz::Swatch::width_

Definition at line 89 of file map_display.h.

◆ x_

unsigned int rviz::Swatch::x_

Definition at line 89 of file map_display.h.

◆ y_

unsigned int rviz::Swatch::y_

Definition at line 89 of file map_display.h.

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

Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Sat May 27 2023 02:06:26