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_
 
MapDisplayparent_
 
Ogre::SceneNode * scene_node_
 
Ogre::TexturePtr texture_
 
unsigned int width_
 
unsigned int x_
 
unsigned int y_
 

Friends

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
friend

Definition at line 70 of file map_display.h.

Member Data Documentation

◆ height_

unsigned int rviz::Swatch::height_
protected

Definition at line 89 of file map_display.h.

◆ manual_object_

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

Definition at line 85 of file map_display.h.

◆ material_

Ogre::MaterialPtr rviz::Swatch::material_
protected

Definition at line 87 of file map_display.h.

◆ parent_

MapDisplay* rviz::Swatch::parent_
protected

Definition at line 84 of file map_display.h.

◆ scene_node_

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

Definition at line 88 of file map_display.h.

◆ texture_

Ogre::TexturePtr rviz::Swatch::texture_
protected

Definition at line 86 of file map_display.h.

◆ width_

unsigned int rviz::Swatch::width_
protected

Definition at line 89 of file map_display.h.

◆ x_

unsigned int rviz::Swatch::x_
protected

Definition at line 89 of file map_display.h.

◆ y_

unsigned int rviz::Swatch::y_
protected

Definition at line 89 of file map_display.h.


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


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