Public Member Functions | Public Attributes | Private Attributes | List of all members
Stg::Model::RasterVis Class Reference

#include <stage.hh>

Inheritance diagram for Stg::Model::RasterVis:
Inheritance graph
[legend]

Public Member Functions

void AddPoint (meters_t x, meters_t y)
 
void ClearPts ()
 
 RasterVis ()
 
void SetData (uint8_t *data, unsigned int width, unsigned int height, meters_t cellwidth, meters_t cellheight)
 
virtual void Visualize (Model *mod, Camera *cam)
 
virtual ~RasterVis (void)
 
- Public Member Functions inherited from Stg::Visualizer
const std::string & GetMenuName ()
 
const std::string & GetWorldfileName ()
 
 Visualizer (const std::string &menu_name, const std::string &worldfile_name)
 
virtual ~Visualizer (void)
 

Public Attributes

int subs
 
int used
 

Private Attributes

meters_t cellheight
 
meters_t cellwidth
 
uint8_t * data
 
unsigned int height
 
std::vector< point_tpts
 
unsigned int width
 

Detailed Description

Visualize the most recent rasterization operation performed by this model

Definition at line 1926 of file stage.hh.

Constructor & Destructor Documentation

Model::RasterVis::RasterVis ( )

Definition at line 1036 of file model.cc.

virtual Stg::Model::RasterVis::~RasterVis ( void  )
inlinevirtual

Definition at line 1936 of file stage.hh.

Member Function Documentation

void Model::RasterVis::AddPoint ( meters_t  x,
meters_t  y 
)

Definition at line 1156 of file model.cc.

void Model::RasterVis::ClearPts ( )

Definition at line 1161 of file model.cc.

void Model::RasterVis::SetData ( uint8_t *  data,
unsigned int  width,
unsigned int  height,
meters_t  cellwidth,
meters_t  cellheight 
)

Definition at line 1136 of file model.cc.

void Model::RasterVis::Visualize ( Model mod,
Camera cam 
)
virtual

Implements Stg::Visualizer.

Definition at line 1048 of file model.cc.

Member Data Documentation

meters_t Stg::Model::RasterVis::cellheight
private

Definition at line 1931 of file stage.hh.

meters_t Stg::Model::RasterVis::cellwidth
private

Definition at line 1931 of file stage.hh.

uint8_t* Stg::Model::RasterVis::data
private

Definition at line 1929 of file stage.hh.

unsigned int Stg::Model::RasterVis::height
private

Definition at line 1930 of file stage.hh.

std::vector<point_t> Stg::Model::RasterVis::pts
private

Definition at line 1932 of file stage.hh.

int Stg::Model::RasterVis::subs

Definition at line 1945 of file stage.hh.

int Stg::Model::RasterVis::used

Definition at line 1946 of file stage.hh.

unsigned int Stg::Model::RasterVis::width
private

Definition at line 1930 of file stage.hh.


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


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:12