Defines | Functions | Variables
plan_visualization.cpp File Reference
#include "plan_visualization.h"
Include dependency graph for plan_visualization.cpp:

Go to the source code of this file.

Defines

#define TERRAIN_PUSH_POINT(i, j)   {p.x=(j)*space;p.y=(i)*space;p.z=max(0,TerrainMap[(i)*space*Width+(j)*space]*AltitudeZoom/90);Terrain.points.push_back(p);}
#define TERRAINLINE_PUSH_POINT(i, j)   {p.x=(j)*space;p.y=(i)*space;p.z=max(0,TerrainMap[(i)*space*Width+(j)*space]*AltitudeZoom/90+1);TerrainLine.points.push_back(p);}

Functions

void AddTailPoint (float x, float y, float z)
void Draw_Cylinder (int ID, float x, float y, float z, float Rad, float Height, float r, float g, float b, float a)
void Draw_Sphere (int ID, float x, float y, float z, float Rad, float r, float g, float b, float a)
void DrawTerrain (int Width, int Height, int space, short *TerrainMap)
void GetStoreColor (int ID, float &r, float &g, float &b)
void InitMarkerPublisher ()
void InitTail (int ID, float r, float g, float b, float a)
void ResetTail ()
void UInitMarker (visualization_msgs::Marker &marker)

Variables

float AltitudeZoom = 3.0
ros::Publisher Marker_Publisher
visualization_msgs::Marker Tail
visualization_msgs::Marker Terrain
visualization_msgs::Marker TerrainLine

Define Documentation

#define TERRAIN_PUSH_POINT (   i,
 
)    {p.x=(j)*space;p.y=(i)*space;p.z=max(0,TerrainMap[(i)*space*Width+(j)*space]*AltitudeZoom/90);Terrain.points.push_back(p);}

Definition at line 179 of file plan_visualization.cpp.

#define TERRAINLINE_PUSH_POINT (   i,
 
)    {p.x=(j)*space;p.y=(i)*space;p.z=max(0,TerrainMap[(i)*space*Width+(j)*space]*AltitudeZoom/90+1);TerrainLine.points.push_back(p);}

Definition at line 180 of file plan_visualization.cpp.


Function Documentation

void AddTailPoint ( float  x,
float  y,
float  z 
)

Definition at line 161 of file plan_visualization.cpp.

void Draw_Cylinder ( int  ID,
float  x,
float  y,
float  z,
float  Rad,
float  Height,
float  r,
float  g,
float  b,
float  a 
)

Definition at line 87 of file plan_visualization.cpp.

void Draw_Sphere ( int  ID,
float  x,
float  y,
float  z,
float  Rad,
float  r,
float  g,
float  b,
float  a 
)

Definition at line 118 of file plan_visualization.cpp.

void DrawTerrain ( int  Width,
int  Height,
int  space,
short *  TerrainMap 
)

Definition at line 183 of file plan_visualization.cpp.

void GetStoreColor ( int  ID,
float &  r,
float &  g,
float &  b 
)

Definition at line 56 of file plan_visualization.cpp.

Definition at line 49 of file plan_visualization.cpp.

void InitTail ( int  ID,
float  r,
float  g,
float  b,
float  a 
)

Definition at line 145 of file plan_visualization.cpp.

void ResetTail ( )

Definition at line 173 of file plan_visualization.cpp.

void UInitMarker ( visualization_msgs::Marker &  marker)

Definition at line 70 of file plan_visualization.cpp.


Variable Documentation

float AltitudeZoom = 3.0

Definition at line 39 of file plan_visualization.cpp.

ros::Publisher Marker_Publisher

Definition at line 42 of file plan_visualization.cpp.

visualization_msgs::Marker Tail

Definition at line 43 of file plan_visualization.cpp.

visualization_msgs::Marker Terrain

Definition at line 44 of file plan_visualization.cpp.

visualization_msgs::Marker TerrainLine

Definition at line 45 of file plan_visualization.cpp.



micros_hopfield
Author(s): Xiaojia Xiang
autogenerated on Thu Jun 6 2019 21:05:58