Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
pangolin Namespace Reference

Namespaces

namespace  process

Classes

struct  _Accessor< T, S, typename boost::enable_if_c<!((boost::is_scalar< T >::value||boost::is_same< T, bool >::value)&&(boost::is_scalar< S >::value||boost::is_same< S, bool >::value))&&!boost::is_same< T, S >::value >::type >
struct  _Accessor< T, S, typename boost::enable_if_c<(boost::is_scalar< T >::value||boost::is_same< T, bool >::value)&&(boost::is_scalar< S >::value||boost::is_same< S, bool >::value)&&!boost::is_same< T, S >::value >::type >
struct  _Accessor< T, T >
struct  _Var
struct  Accessor
struct  Attach
 Defines typed quantity Constructors distinguised by whole pixels, or floating fraction in interval [0,1]. More...
struct  BadInputException
struct  buffer
struct  Button
struct  CameraSpec
struct  CgLoader
struct  CgProgram
struct  Checkbox
struct  Convert
struct  Convert< bool, std::string >
struct  Convert< std::string, S >
struct  Convert< std::string, std::string >
struct  Convert< T, std::string >
struct  CudaScopedMappedArray
struct  CudaScopedMappedPtr
struct  DataLog
struct  DataSequence
struct  DataUnavailableException
class  FfmpegConverter
class  FfmpegVideo
class  FirewireFrame
class  FirewireVideo
struct  FrameInput
struct  GlBufferCudaPtr
struct  GlFramebuffer
struct  GlRenderBuffer
struct  GlTexture
struct  GlTextureCudaArray
struct  Guid
struct  GuiVarChangedCallback
struct  Handler
 Input Handler base class with virtual methods which recurse into sub-displays. More...
struct  Handler3D
struct  HandlerScroll
struct  InputRecordRepeat
struct  NewVarCallback
struct  OpenGlMatrix
 Object representing OpenGl Matrix. More...
struct  OpenGlMatrixSpec
 deprecated More...
struct  OpenGlRenderState
 Object representing attached OpenGl Matrices / transforms Only stores what is attached, not entire OpenGl state (which would be horribly slow). Applying state is efficient. More...
struct  OpenNiVideo
 Interface to video capture sources. More...
struct  Panel
struct  PangolinGl
struct  Plotter
class  PvnVideo
struct  SetVarFunctor
struct  Slider
struct  TextInput
class  threadedfilebuf
struct  Timer
struct  ToggleVarFunctor
struct  UnknownTypeException
struct  Uri
class  V4lVideo
struct  Var
struct  VideoException
struct  VideoInput
struct  VideoInterface
 Interface to video capture sources. More...
struct  VideoPixelFormat
class  VideoRecorder
struct  VideoRecorderException
struct  VideoRecordRepeat
struct  VideoStream
struct  View
 A Display manages the location and resizing of an OpenGl viewport. More...
struct  Viewport
 Encapsulates OpenGl Viewport. More...
struct  Widget

Typedefs

typedef
boost::ptr_unordered_map
< string, PangolinGl
ContextMap
typedef void(* GuiVarChangedCallbackFn )(void *data, const std::string &name, _Var &var)
typedef void(* NewVarCallbackFn )(void *data, const std::string &name, _Var &var, const char *reg_type_name, bool brand_new)

Enumerations

enum  AxisDirection {
  AxisNone, AxisNegX, AxisX, AxisNegY,
  AxisY, AxisNegZ, AxisZ
}
enum  FfmpegMethod {
  FFMPEG_FAST_BILINEAR = 1, FFMPEG_BILINEAR = 2, FFMPEG_BICUBIC = 4, FFMPEG_X = 8,
  FFMPEG_POINT = 0x10, FFMPEG_AREA = 0x20, FFMPEG_BICUBLIN = 0x40, FFMPEG_GAUSS = 0x80,
  FFMPEG_SINC = 0x100, FFMPEG_LANCZOS = 0x200, FFMPEG_SPLINE = 0x400
}
enum  GlBufferType { GlArrayBuffer = GL_ARRAY_BUFFER, GlElementArrayBuffer = GL_ELEMENT_ARRAY_BUFFER, GlPixelPackBuffer = GL_PIXEL_PACK_BUFFER, GlPixelUnpackBuffer = GL_PIXEL_UNPACK_BUFFER }
enum  io_method { IO_METHOD_READ, IO_METHOD_MMAP, IO_METHOD_USERPTR }
enum  Layout { LayoutOverlay, LayoutVertical, LayoutHorizontal, LayoutEqual }
enum  Lock {
  LockLeft = 0, LockBottom = 0, LockCenter = 1, LockRight = 2,
  LockTop = 2
}
enum  MouseButton {
  MouseButtonLeft = 1, MouseButtonMiddle = 2, MouseButtonRight = 4, MouseWheelUp = 8,
  MouseWheelDown = 16
}
enum  OpenGlStack { GlProjectionStack = GL_PROJECTION, GlModelViewStack = GL_MODELVIEW, GlTextureStack = GL_TEXTURE }
 Capture OpenGL matrix types in enum to typing. More...
enum  OpenNiSensorType { OpenNiUnassigned = -1, OpenNiRgb = 0, OpenNiIr = 1, OpenNiDepth = 2 }
enum  Unit { Fraction, Pixel, ReversePixel }
 Unit for measuring quantities. More...

Functions

void AddVar (const string &name, const string &val)
float AspectAreaWithinTarget (double target, double test)
int AttachAbs (int low, int high, Attach a)
void BindToContext (std::string name)
 Give this OpenGL context a name or switch contexts This is required to initialise Pangolin for use with an externally defined OpenGL context. You needn't call it if you have used CreateGlutWindowAndBind() to create a GLUT window.
bool cgOkay ()
template<typename T >
void CopyDevMemtoTex (T *d_img, size_t pitch, GlTextureCudaArray &tex)
void CopyPboToTex (GlBufferCudaPtr &buffer, GlTexture &tex)
void CopyPboToTex (const GlBufferCudaPtr &buffer, GlTexture &tex, GLenum buffer_layout, GLenum buffer_data_type)
ViewCreateDisplay ()
 Create unnamed display managed by pangolin (automatically deleted)
ViewCreatePanel (const std::string &name)
PlotterCreatePlotter (const std::string &name, DataLog *log=0)
PlotterCreatePlotter (const string &name, DataLog *log)
template<typename P >
void CrossProduct (P c[3], const P a[3], const P b[3])
dc1394color_coding_t Dc1394ColorCodingFromString (std::string coding)
std::string Dc1394ColorCodingToString (dc1394color_coding_t coding)
void Dc1394ModeDetails (dc1394video_mode_t mode, unsigned &w, unsigned &h, std::string &format)
void Dc1394ModeDetails (dc1394video_mode_t mode, unsigned &w, unsigned &h, string &format)
ViewDisplay (const std::string &name)
 Create or retrieve named display managed by pangolin (automatically deleted)
ViewDisplayBase ()
 Retrieve 'base' display, corresponding to entire window.
void DrawShadowRect (Viewport &v)
void DrawShadowRect (Viewport &v, bool pushed)
void DrawTextureToViewport (GLuint texid)
template<typename P >
void EnforceUpT_cw (P T_cw_4x4[4 *4], const P up_w[3])
template<typename P >
void EnforceUpT_wc (P T_wc[3 *4], const P up_w[3])
PixelFormat FfmpegFmtFromString (const std::string fmt)
std::string FfmpegFmtToString (const PixelFormat fmt)
template<typename T >
void FillFromFile (const std::string &filename, std::vector< T > &v, const T &init=T())
ViewFindChild (View &parent, int x, int y)
const char * FirstOpenBrace (const char *str)
template<typename T >
FromFile (const std::string &filename, const T &init=T())
void glColorBin (int bin, int max_bins, double sat=1.0, double val=1.0)
void glColorHSV (double hue, double s, double v)
void glPixelTransferScale (float r, float g, float b)
void glPixelTransferScale (float scale)
void glRect (Viewport v)
void glRect (Viewport v, int inset)
template<typename T >
void GuiVarChanged (Var< T > &var)
bool GuiVarHasChanged ()
bool HadInput ()
 Returns true if user has interacted with the window since this was last called.
bool HasResized ()
 Returns true if user has resized the window.
OpenGlMatrix IdentityMatrix ()
OpenGlMatrixSpec IdentityMatrix (OpenGlStack type)
template<int R, typename P >
Length (P v[R])
template<typename P >
void LieApplySE3vec (P x_b[3], const P T_ba[3 *4], const P x_a[3])
template<typename P >
void LieApplySO3 (P out[3], const P R_ba[3 *3], const P in[3])
template<typename P >
void LieGetRotation (P R_ba[3 *3], const P T_ba[3 *4])
template<typename P >
void LieInverseSE3 (P T_ab[3 *4], const P T_ba[3 *4])
template<typename P >
void LieMul4x4bySE3 (P T_ca[4 *4], const P T_cb[3 *4], const P T_ba[4 *4])
template<typename P >
void LieMulSE3 (P T_ca[3 *4], const P T_cb[3 *4], const P T_ba[3 *4])
template<typename P >
void LieMulSO3 (P R_ca[3 *3], const P R_cb[3 *3], const P R_ba[3 *3])
template<typename P >
void LiePutSE3in4x4 (P out[4 *4], const P in[3 *4])
template<typename P >
void LieSE3from4x4 (P out[3 *4], const P in[4 *4])
template<typename P >
void LieSetIdentity (P T_ba[3 *4])
template<typename P >
void LieSetRotation (P T_ba[3 *4], const P R_ba[3 *3])
template<typename P >
void LieSetSE3 (P T_ba[3 *4], const P R_ba[3 *3], const P a_b[3])
template<typename P >
void LieSetTranslation (P T_ba[3 *4], const P a_b[3 *3])
template<typename P >
void LieTransposeSO3 (P R_ab[3 *3], const P R_ba[3 *3])
template<int R, int C, typename P >
void MatAdd (P m[R *C], const P m1[R *C], const P m2[R *C])
const char * MatchingEndBrace (const char *str)
template<int R, int M, int C, typename P >
void MatMul (P mo[R *C], const P m1[R *M], const P m2[M *C])
template<int R, int M, int C, typename P >
void MatMul (P mo[R *C], const P m1[R *M], const P m2[M *C], P s)
template<int R, int C, typename P >
void MatMul (P m[R *C], const P m1[R *C], P scalar)
template<int R, int C, typename P >
void MatMul (P m[R *C], P scalar)
template<int R, int M, int C, typename P >
void MatMulTranspose (P mo[R *C], const P m1[R *M], const P m2[C *M])
template<int N, typename P >
void MatOrtho (P m[N *N])
template<int R, int C, typename P >
void MatPrint (const P m[R *C])
template<int R, int C, typename P >
void MatPrint (const P m[R *C], std::string name)
template<int R, int C, typename P >
void MatSet (P m[R *C],...)
template<typename P >
void MatSkew (P s[3 *3], const P v[3])
template<int R, int C, typename P >
void MatSub (P m[R *C], const P m1[R *C], const P m2[R *C])
template<int N, typename P >
void MatTranspose (P out[N *N], const P in[N *N])
template<int N, typename P >
void MatTranspose (P m[N *N])
OpenGlMatrix ModelViewLookAt (double ex, double ey, double ez, double lx, double ly, double lz, double ux, double uy, double uz)
OpenGlMatrix ModelViewLookAt (double ex, double ey, double ez, double lx, double ly, double lz, AxisDirection up)
OpenGlMatrixSpec negIdentityMatrix (OpenGlStack type)
template<int R, typename P >
void Normalise (P v[R])
VideoInterfaceOpenVideo (std::string uri)
 Open Video Interface from string specification (as described in this files header)
ostream & operator<< (ostream &os, const FrameInput &fi)
ostream & operator<< (ostream &out, Uri &uri)
istream & operator>> (istream &is, FrameInput &fi)
Uri ParseUri (string str_uri)
Uri ParseUri (std::string str_uri)
 Parse string as Video URI.
void ParseVarsFile (const std::string &filename)
void ParseVarsFile (const string &filename)
void ProcessHistoricCallbacks (NewVarCallbackFn callback, void *data, const std::string &filter)
string ProcessVal (const string &val)
OpenGlMatrixSpec ProjectionMatrix (int w, int h, double fu, double fv, double u0, double v0, double zNear, double zFar)
 Use OpenGl's default frame RUB_BottomLeft.
OpenGlMatrixSpec ProjectionMatrixOrthographic (double t, double b, double l, double r, double n, double f)
OpenGlMatrixSpec ProjectionMatrixRDF_BottomLeft (int w, int h, double fu, double fv, double u0, double v0, double zNear, double zFar)
OpenGlMatrixSpec ProjectionMatrixRDF_TopLeft (int w, int h, double fu, double fv, double u0, double v0, double zNear, double zFar)
OpenGlMatrixSpec ProjectionMatrixRUB_BottomLeft (int w, int h, double fu, double fv, double u0, double v0, double zNear, double zFar)
bool Pushed (Var< bool > &button)
bool Pushed (bool &button)
void Quit ()
 Request that the program exit.
void RegisterGuiVarChangedCallback (GuiVarChangedCallbackFn callback, void *data, const std::string &filter)
void RegisterKeyPressCallback (int key, boost::function< void(void)> func)
 Request to be notified via functor when key is pressed. Functor may take one parameter which will equal the key pressed.
void RegisterNewVarCallback (NewVarCallbackFn callback, void *data, const std::string &filter)
void RenderViews ()
 Renders any views with default draw methods.
template<typename P >
void Rotation (P R[3 *3], P x, P y, P z)
template<int N, typename P >
void SetIdentity (P m[N *N])
template<int R, int C, typename P >
void SetZero (P m[R *C])
bool ShouldQuit ()
 Returns true if user has requested to close OpenGL window.
void swap (GlBufferCudaPtr &a, GlBufferCudaPtr &b)
VideoPixelFormat VideoFormatFromString (const std::string &format)
basetime WaitUntil (basetime t)
static int xioctl (int fd, int request, void *arg)

Variables

static const GLuint attachment_buffers []
static const GLdouble AxisDirectionVector [][3]
static const int border = 1
static const CameraSpec CameraSpecOpenGl = {{0,0,-1},{0,1,0},{1,0,0},{0,1},{1,0}}
static const CameraSpec CameraSpecYDownZForward = {{0,0,1},{0,-1,0},{1,0,0},{0,-1},{1,0}}
static int cb_height = text_height * 1.6
static const float colour_ax [3] = {0.5,0.5,0.5}
static const float colour_bg [3] = {0.0,0.0,0.0}
static const float colour_dn [4] = {1.0, 0.7 ,0.7, 1.0}
static const float colour_fg [4] = {1.0, 1.0 ,1.0, 1.0}
static const float colour_hl [4] = {0.9, 0.9, 0.9, 1.0}
static const float colour_ms [3] = {0.3,0.3,0.3}
static const float colour_s1 [4] = {0.2, 0.2, 0.2, 1.0}
static const float colour_s2 [4] = {0.6, 0.6, 0.6, 1.0}
static const float colour_tk [3] = {0.1,0.1,0.1}
static const float colour_tx [4] = {0.0, 0.0, 0.0, 1.0}
__thread PangolinGlcontext = 0
ContextMap contexts
boost::mutex display_mutex
static const int draw_modes [] = {GL_LINE_STRIP, GL_POINTS}
static const int draw_modes_n = 2
static void * font = GLUT_BITMAP_HELVETICA_12
vector< GuiVarChangedCallbackgui_var_changed_callbacks
static bool guiVarHasChanged = true
static const double Identity3d [] = {1,0,0, 0,1,0, 0,0,1}
static const float Identity3f [] = {1,0,0, 0,1,0, 0,0,1}
static const double Identity4d [] = {1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1}
static const float Identity4f [] = {1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1}
const int MAX_ATTACHMENTS = 8
vector< NewVarCallbacknew_var_callbacks
static const int num_plot_colours = 12
const int panal_v_margin = 6
const int PANGO_CTRL = -96
const int PANGO_OPTN = 132
const int PANGO_SPECIAL = 128
static const float plot_colours [][3]
static Handler StaticHandler
static HandlerScroll StaticHandlerScroll
const VideoPixelFormat SupportedVideoPixelFormats []
static const int tab_h = 20
static const int tab_p = 5
static const int tab_w = 15
static int text_height = 8
boost::ptr_unordered_map
< string, _Var
vars
static const double Zero3d [] = {0,0,0, 0,0,0, 0,0,0}
static const float Zero3f [] = {0,0,0, 0,0,0, 0,0,0}
static const double Zero4d [] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0}
static const float Zero4f [] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0}

Typedef Documentation

typedef boost::ptr_unordered_map<string,PangolinGl> pangolin::ContextMap

Definition at line 48 of file display.cpp.

typedef void(* pangolin::GuiVarChangedCallbackFn)(void *data, const std::string &name, _Var &var)

Definition at line 91 of file vars.h.

typedef void(* pangolin::NewVarCallbackFn)(void *data, const std::string &name, _Var &var, const char *reg_type_name, bool brand_new)

Definition at line 88 of file vars.h.


Enumeration Type Documentation

Enumerator:
AxisNone 
AxisNegX 
AxisX 
AxisNegY 
AxisY 
AxisNegZ 
AxisZ 

Definition at line 468 of file display.h.

Enumerator:
FFMPEG_FAST_BILINEAR 
FFMPEG_BILINEAR 
FFMPEG_BICUBIC 
FFMPEG_X 
FFMPEG_POINT 
FFMPEG_AREA 
FFMPEG_BICUBLIN 
FFMPEG_GAUSS 
FFMPEG_SINC 
FFMPEG_LANCZOS 
FFMPEG_SPLINE 

Definition at line 94 of file ffmpeg.h.

Enumerator:
GlArrayBuffer 
GlElementArrayBuffer 
GlPixelPackBuffer 
GlPixelUnpackBuffer 

Definition at line 44 of file glcuda.h.

Enumerator:
IO_METHOD_READ 
IO_METHOD_MMAP 
IO_METHOD_USERPTR 

Definition at line 40 of file v4l.h.

Enumerator:
LayoutOverlay 
LayoutVertical 
LayoutHorizontal 
LayoutEqual 

Definition at line 311 of file display.h.

Enumerator:
LockLeft 
LockBottom 
LockCenter 
LockRight 
LockTop 

Definition at line 202 of file display.h.

Enumerator:
MouseButtonLeft 
MouseButtonMiddle 
MouseButtonRight 
MouseWheelUp 
MouseWheelDown 

Definition at line 442 of file display.h.

Capture OpenGL matrix types in enum to typing.

Enumerator:
GlProjectionStack 
GlModelViewStack 
GlTextureStack 

Definition at line 233 of file display.h.

Enumerator:
OpenNiUnassigned 
OpenNiRgb 
OpenNiIr 
OpenNiDepth 

Definition at line 12 of file openni.h.

Unit for measuring quantities.

Enumerator:
Fraction 
Pixel 
ReversePixel 

Definition at line 155 of file display.h.


Function Documentation

void pangolin::AddVar ( const string &  name,
const string &  val 
)

Definition at line 144 of file vars.cpp.

float pangolin::AspectAreaWithinTarget ( double  target,
double  test 
)

Definition at line 611 of file display.cpp.

int pangolin::AttachAbs ( int  low,
int  high,
Attach  a 
)

Definition at line 604 of file display.cpp.

void pangolin::BindToContext ( std::string  name)

Give this OpenGL context a name or switch contexts This is required to initialise Pangolin for use with an externally defined OpenGL context. You needn't call it if you have used CreateGlutWindowAndBind() to create a GLUT window.

Definition at line 61 of file display.cpp.

bool pangolin::cgOkay ( ) [inline]

Definition at line 99 of file cg.h.

template<typename T >
void pangolin::CopyDevMemtoTex ( T *  d_img,
size_t  pitch,
GlTextureCudaArray &  tex 
) [inline]

Definition at line 199 of file glcuda.h.

void pangolin::CopyPboToTex ( GlBufferCudaPtr &  buffer,
GlTexture &  tex 
)
void pangolin::CopyPboToTex ( const GlBufferCudaPtr &  buffer,
GlTexture &  tex,
GLenum  buffer_layout,
GLenum  buffer_data_type 
) [inline]

Definition at line 189 of file glcuda.h.

Create unnamed display managed by pangolin (automatically deleted)

Definition at line 137 of file display.cpp.

View & pangolin::CreatePanel ( const std::string &  name)

Definition at line 205 of file widgets.cpp.

Plotter& pangolin::CreatePlotter ( const std::string &  name,
DataLog *  log = 0 
)
Plotter& pangolin::CreatePlotter ( const string &  name,
DataLog *  log 
)

Definition at line 578 of file plotter.cpp.

template<typename P >
void pangolin::CrossProduct ( c[3],
const P  a[3],
const P  b[3] 
)

Definition at line 352 of file simple_math.h.

dc1394color_coding_t pangolin::Dc1394ColorCodingFromString ( std::string  coding)

Definition at line 297 of file firewire.cpp.

std::string pangolin::Dc1394ColorCodingToString ( dc1394color_coding_t  coding)

Definition at line 273 of file firewire.cpp.

void pangolin::Dc1394ModeDetails ( dc1394video_mode_t  mode,
unsigned &  w,
unsigned &  h,
std::string &  format 
)
void pangolin::Dc1394ModeDetails ( dc1394video_mode_t  mode,
unsigned &  w,
unsigned &  h,
string &  format 
)

Definition at line 315 of file firewire.cpp.

View & pangolin::Display ( const std::string &  name)

Create or retrieve named display managed by pangolin (automatically deleted)

Definition at line 145 of file display.cpp.

Retrieve 'base' display, corresponding to entire window.

Definition at line 132 of file display.cpp.

void pangolin::DrawShadowRect ( Viewport &  v)

Definition at line 88 of file widgets.cpp.

void pangolin::DrawShadowRect ( Viewport &  v,
bool  pushed 
)

Definition at line 100 of file widgets.cpp.

void pangolin::DrawTextureToViewport ( GLuint  texid)

Definition at line 1327 of file display.cpp.

template<typename P >
void pangolin::EnforceUpT_cw ( T_cw_4x4[4 *4],
const P  up_w[3] 
)

Definition at line 412 of file simple_math.h.

template<typename P >
void pangolin::EnforceUpT_wc ( T_wc[3 *4],
const P  up_w[3] 
)

Definition at line 385 of file simple_math.h.

PixelFormat pangolin::FfmpegFmtFromString ( const std::string  fmt)

Definition at line 33 of file ffmpeg.cpp.

std::string pangolin::FfmpegFmtToString ( const PixelFormat  fmt)

Definition at line 45 of file ffmpeg.cpp.

template<typename T >
void pangolin::FillFromFile ( const std::string &  filename,
std::vector< T > &  v,
const T &  init = T() 
) [inline]

Definition at line 395 of file vars.h.

View* pangolin::FindChild ( View &  parent,
int  x,
int  y 
)

Definition at line 924 of file display.cpp.

const char* pangolin::FirstOpenBrace ( const char *  str)

Definition at line 57 of file vars.cpp.

template<typename T >
T pangolin::FromFile ( const std::string &  filename,
const T &  init = T() 
) [inline]

Definition at line 382 of file vars.h.

void pangolin::glColorBin ( int  bin,
int  max_bins,
double  sat = 1.0,
double  val = 1.0 
) [inline]

Definition at line 316 of file gl.h.

void pangolin::glColorHSV ( double  hue,
double  s,
double  v 
) [inline]

Definition at line 283 of file gl.h.

void pangolin::glPixelTransferScale ( float  r,
float  g,
float  b 
) [inline]

Definition at line 329 of file gl.h.

void pangolin::glPixelTransferScale ( float  scale) [inline]

Definition at line 336 of file gl.h.

void pangolin::glRect ( Viewport  v)

Definition at line 78 of file widgets.cpp.

void pangolin::glRect ( Viewport  v,
int  inset 
)

Definition at line 83 of file widgets.cpp.

template<typename T >
void pangolin::GuiVarChanged ( Var< T > &  var)

Definition at line 68 of file widgets.cpp.

Definition at line 62 of file widgets.cpp.

Returns true if user has interacted with the window since this was last called.

Definition at line 107 of file display.cpp.

Returns true if user has resized the window.

Definition at line 117 of file display.cpp.

Definition at line 1299 of file display.cpp.

Definition at line 1307 of file display.cpp.

template<int R, typename P >
P pangolin::Length ( v[R])

Definition at line 360 of file simple_math.h.

template<typename P >
void pangolin::LieApplySE3vec ( x_b[3],
const P  T_ba[3 *4],
const P  x_a[3] 
)

Definition at line 283 of file simple_math.h.

template<typename P >
void pangolin::LieApplySO3 ( out[3],
const P  R_ba[3 *3],
const P  in[3] 
)

Definition at line 277 of file simple_math.h.

template<typename P >
void pangolin::LieGetRotation ( R_ba[3 *3],
const P  T_ba[3 *4] 
)

Definition at line 271 of file simple_math.h.

template<typename P >
void pangolin::LieInverseSE3 ( T_ab[3 *4],
const P  T_ba[3 *4] 
)

Definition at line 342 of file simple_math.h.

template<typename P >
void pangolin::LieMul4x4bySE3 ( T_ca[4 *4],
const P  T_cb[3 *4],
const P  T_ba[4 *4] 
)

Definition at line 325 of file simple_math.h.

template<typename P >
void pangolin::LieMulSE3 ( T_ca[3 *4],
const P  T_cb[3 *4],
const P  T_ba[3 *4] 
)

Definition at line 297 of file simple_math.h.

template<typename P >
void pangolin::LieMulSO3 ( R_ca[3 *3],
const P  R_cb[3 *3],
const P  R_ba[3 *3] 
)

Definition at line 291 of file simple_math.h.

template<typename P >
void pangolin::LiePutSE3in4x4 ( out[4 *4],
const P  in[3 *4] 
)

Definition at line 306 of file simple_math.h.

template<typename P >
void pangolin::LieSE3from4x4 ( out[3 *4],
const P  in[4 *4] 
)

Definition at line 316 of file simple_math.h.

template<typename P >
void pangolin::LieSetIdentity ( T_ba[3 *4])

Definition at line 245 of file simple_math.h.

template<typename P >
void pangolin::LieSetRotation ( T_ba[3 *4],
const P  R_ba[3 *3] 
)

Definition at line 252 of file simple_math.h.

template<typename P >
void pangolin::LieSetSE3 ( T_ba[3 *4],
const P  R_ba[3 *3],
const P  a_b[3] 
)

Definition at line 264 of file simple_math.h.

template<typename P >
void pangolin::LieSetTranslation ( T_ba[3 *4],
const P  a_b[3 *3] 
)

Definition at line 258 of file simple_math.h.

template<typename P >
void pangolin::LieTransposeSO3 ( R_ab[3 *3],
const P  R_ba[3 *3] 
)

Definition at line 336 of file simple_math.h.

template<int R, int C, typename P >
void pangolin::MatAdd ( m[R *C],
const P  m1[R *C],
const P  m2[R *C] 
)

Definition at line 142 of file simple_math.h.

const char* pangolin::MatchingEndBrace ( const char *  str)

Definition at line 86 of file vars.cpp.

template<int R, int M, int C, typename P >
void pangolin::MatMul ( mo[R *C],
const P  m1[R *M],
const P  m2[M *C] 
)

Definition at line 106 of file simple_math.h.

template<int R, int M, int C, typename P >
void pangolin::MatMul ( mo[R *C],
const P  m1[R *M],
const P  m2[M *C],
s 
)

Definition at line 118 of file simple_math.h.

template<int R, int C, typename P >
void pangolin::MatMul ( m[R *C],
const P  m1[R *C],
scalar 
)

Definition at line 158 of file simple_math.h.

template<int R, int C, typename P >
void pangolin::MatMul ( m[R *C],
scalar 
)

Definition at line 166 of file simple_math.h.

template<int R, int M, int C, typename P >
void pangolin::MatMulTranspose ( mo[R *C],
const P  m1[R *M],
const P  m2[C *M] 
)

Definition at line 130 of file simple_math.h.

template<int N, typename P >
void pangolin::MatOrtho ( m[N *N])

Definition at line 204 of file simple_math.h.

template<int R, int C, typename P >
void pangolin::MatPrint ( const P  m[R *C])

Definition at line 51 of file simple_math.h.

template<int R, int C, typename P >
void pangolin::MatPrint ( const P  m[R *C],
std::string  name 
)

Definition at line 63 of file simple_math.h.

template<int R, int C, typename P >
void pangolin::MatSet ( m[R *C],
  ... 
)

Definition at line 77 of file simple_math.h.

template<typename P >
void pangolin::MatSkew ( s[3 *3],
const P  v[3] 
)

Definition at line 190 of file simple_math.h.

template<int R, int C, typename P >
void pangolin::MatSub ( m[R *C],
const P  m1[R *C],
const P  m2[R *C] 
)

Definition at line 150 of file simple_math.h.

template<int N, typename P >
void pangolin::MatTranspose ( out[N *N],
const P  in[N *N] 
)

Definition at line 173 of file simple_math.h.

template<int N, typename P >
void pangolin::MatTranspose ( m[N *N])

Definition at line 181 of file simple_math.h.

OpenGlMatrix pangolin::ModelViewLookAt ( double  ex,
double  ey,
double  ez,
double  lx,
double  ly,
double  lz,
double  ux,
double  uy,
double  uz 
)

Definition at line 1254 of file display.cpp.

OpenGlMatrix pangolin::ModelViewLookAt ( double  x,
double  y,
double  z,
double  lx,
double  ly,
double  lz,
AxisDirection  up 
)

Generate glulookat style model view matrix, looking at (lx,ly,lz) Assumes forward is -z and up is +y

Definition at line 1293 of file display.cpp.

Definition at line 1316 of file display.cpp.

template<int R, typename P >
void pangolin::Normalise ( v[R])

Definition at line 374 of file simple_math.h.

VideoInterface * pangolin::OpenVideo ( std::string  str_uri)

Open Video Interface from string specification (as described in this files header)

Definition at line 235 of file video.cpp.

ostream& pangolin::operator<< ( ostream &  os,
const FrameInput &  fi 
)

Definition at line 56 of file input_record_repeat.cpp.

ostream& pangolin::operator<< ( ostream &  out,
Uri &  uri 
)

Definition at line 79 of file video.cpp.

istream& pangolin::operator>> ( istream &  is,
FrameInput &  fi 
)

Definition at line 62 of file input_record_repeat.cpp.

Uri pangolin::ParseUri ( string  str_uri)

Definition at line 110 of file video.cpp.

Uri pangolin::ParseUri ( std::string  str_uri)

Parse string as Video URI.

void pangolin::ParseVarsFile ( const std::string &  filename)
void pangolin::ParseVarsFile ( const string &  filename)

Definition at line 181 of file vars.cpp.

void pangolin::ProcessHistoricCallbacks ( NewVarCallbackFn  callback,
void *  data,
const std::string &  filter 
) [inline]

Definition at line 336 of file vars.h.

string pangolin::ProcessVal ( const string &  val)

Definition at line 108 of file vars.cpp.

OpenGlMatrixSpec pangolin::ProjectionMatrix ( int  w,
int  h,
double  fu,
double  fv,
double  u0,
double  v0,
double  zNear,
double  zFar 
)

Use OpenGl's default frame RUB_BottomLeft.

Definition at line 1131 of file display.cpp.

OpenGlMatrixSpec pangolin::ProjectionMatrixOrthographic ( double  t,
double  b,
double  l,
double  r,
double  n,
double  f 
)

Definition at line 1136 of file display.cpp.

OpenGlMatrixSpec pangolin::ProjectionMatrixRDF_BottomLeft ( int  w,
int  h,
double  fu,
double  fv,
double  u0,
double  v0,
double  zNear,
double  zFar 
)

Definition at line 1230 of file display.cpp.

OpenGlMatrixSpec pangolin::ProjectionMatrixRDF_TopLeft ( int  w,
int  h,
double  fu,
double  fv,
double  u0,
double  v0,
double  zNear,
double  zFar 
)

Definition at line 1201 of file display.cpp.

OpenGlMatrixSpec pangolin::ProjectionMatrixRUB_BottomLeft ( int  w,
int  h,
double  fu,
double  fv,
double  u0,
double  v0,
double  zNear,
double  zFar 
)

Definition at line 1173 of file display.cpp.

bool pangolin::Pushed ( Var< bool > &  button) [inline]

Definition at line 367 of file vars.h.

bool pangolin::Pushed ( bool &  button) [inline]

Definition at line 374 of file vars.h.

void pangolin::Quit ( )

Request that the program exit.

Definition at line 93 of file display.cpp.

void pangolin::RegisterGuiVarChangedCallback ( GuiVarChangedCallbackFn  callback,
void *  data,
const std::string &  filter 
)

Definition at line 51 of file vars.cpp.

void pangolin::RegisterKeyPressCallback ( int  key,
boost::function< void(void)>  func 
)

Request to be notified via functor when key is pressed. Functor may take one parameter which will equal the key pressed.

Definition at line 164 of file display.cpp.

void pangolin::RegisterNewVarCallback ( NewVarCallbackFn  callback,
void *  data,
const std::string &  filter 
)

Definition at line 46 of file vars.cpp.

Renders any views with default draw methods.

Definition at line 127 of file display.cpp.

template<typename P >
void pangolin::Rotation ( R[3 *3],
x,
y,
z 
)

Definition at line 222 of file simple_math.h.

template<int N, typename P >
void pangolin::SetIdentity ( m[N *N])

Definition at line 97 of file simple_math.h.

template<int R, int C, typename P >
void pangolin::SetZero ( m[R *C])

Definition at line 90 of file simple_math.h.

Returns true if user has requested to close OpenGL window.

Definition at line 98 of file display.cpp.

void pangolin::swap ( GlBufferCudaPtr &  a,
GlBufferCudaPtr &  b 
) [inline]

Definition at line 205 of file glcuda.h.

VideoPixelFormat pangolin::VideoFormatFromString ( const std::string &  format)

Return Pixel Format properties given string specification in FFMPEG notation.

Definition at line 71 of file video.cpp.

basetime pangolin::WaitUntil ( basetime  t) [inline]

Definition at line 116 of file timer.h.

static int pangolin::xioctl ( int  fd,
int  request,
void *  arg 
) [static]

Definition at line 54 of file v4l.cpp.


Variable Documentation

const GLuint pangolin::attachment_buffers[] [static]
Initial value:
{
    GL_COLOR_ATTACHMENT0_EXT,
    GL_COLOR_ATTACHMENT1_EXT,
    GL_COLOR_ATTACHMENT2_EXT,
    GL_COLOR_ATTACHMENT3_EXT,
    GL_COLOR_ATTACHMENT4_EXT,
    GL_COLOR_ATTACHMENT5_EXT,
    GL_COLOR_ATTACHMENT6_EXT,
    GL_COLOR_ATTACHMENT7_EXT
}

Definition at line 109 of file gl.h.

const GLdouble pangolin::AxisDirectionVector[][3] [static]
Initial value:
{
    {0,0,0},
    {-1,0,0}, {1,0,0},
    {0,-1,0}, {0,1,0},
    {0,0,-1}, {0,0,1}
}

Definition at line 1028 of file display.cpp.

const int pangolin::border = 1 [static]

Definition at line 43 of file widgets.cpp.

const CameraSpec pangolin::CameraSpecOpenGl = {{0,0,-1},{0,1,0},{1,0,0},{0,1},{1,0}} [static]

Definition at line 249 of file display.h.

const CameraSpec pangolin::CameraSpecYDownZForward = {{0,0,1},{0,-1,0},{1,0,0},{0,-1},{1,0}} [static]

Definition at line 250 of file display.h.

int pangolin::cb_height = text_height * 1.6 [static]

Definition at line 56 of file widgets.cpp.

const float pangolin::colour_ax[3] = {0.5,0.5,0.5} [static]

Definition at line 124 of file plotter.h.

static const float pangolin::colour_bg = {0.0,0.0,0.0} [static]

Definition at line 121 of file plotter.h.

const float pangolin::colour_dn[4] = {1.0, 0.7 ,0.7, 1.0} [static]

Definition at line 53 of file widgets.cpp.

const float pangolin::colour_fg[4] = {1.0, 1.0 ,1.0, 1.0} [static]

Definition at line 50 of file widgets.cpp.

const float pangolin::colour_hl[4] = {0.9, 0.9, 0.9, 1.0} [static]

Definition at line 52 of file widgets.cpp.

const float pangolin::colour_ms[3] = {0.3,0.3,0.3} [static]

Definition at line 123 of file plotter.h.

const float pangolin::colour_s1[4] = {0.2, 0.2, 0.2, 1.0} [static]

Definition at line 47 of file widgets.cpp.

const float pangolin::colour_s2[4] = {0.6, 0.6, 0.6, 1.0} [static]

Definition at line 48 of file widgets.cpp.

const float pangolin::colour_tk[3] = {0.1,0.1,0.1} [static]

Definition at line 122 of file plotter.h.

const float pangolin::colour_tx[4] = {0.0, 0.0, 0.0, 1.0} [static]

Definition at line 51 of file widgets.cpp.

__thread PangolinGl * pangolin::context = 0

Definition at line 54 of file display.cpp.

Definition at line 51 of file display.cpp.

Definition at line 58 of file widgets.cpp.

const int pangolin::draw_modes[] = {GL_LINE_STRIP, GL_POINTS} [static]

Definition at line 127 of file plotter.h.

const int pangolin::draw_modes_n = 2 [static]

Definition at line 126 of file plotter.h.

static void * pangolin::font = GLUT_BITMAP_HELVETICA_12 [static]

Definition at line 44 of file plotter.cpp.

Definition at line 44 of file vars.cpp.

bool pangolin::guiVarHasChanged = true [static]

Definition at line 60 of file widgets.cpp.

const double pangolin::Identity3d[] = {1,0,0, 0,1,0, 0,0,1} [static]

Definition at line 40 of file simple_math.h.

const float pangolin::Identity3f[] = {1,0,0, 0,1,0, 0,0,1} [static]

Definition at line 45 of file simple_math.h.

const double pangolin::Identity4d[] = {1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1} [static]

Definition at line 42 of file simple_math.h.

const float pangolin::Identity4f[] = {1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1} [static]

Definition at line 47 of file simple_math.h.

Definition at line 107 of file gl.h.

Definition at line 43 of file vars.cpp.

const int pangolin::num_plot_colours = 12 [static]

Definition at line 103 of file plotter.h.

const int pangolin::panal_v_margin = 6

Definition at line 46 of file display.cpp.

const int pangolin::PANGO_CTRL = -96

Definition at line 111 of file display.h.

const int pangolin::PANGO_OPTN = 132

Definition at line 112 of file display.h.

const int pangolin::PANGO_SPECIAL = 128

Definition at line 110 of file display.h.

const float pangolin::plot_colours[][3] [static]
Initial value:
{
    {1.0, 0.0, 0.0},
    {0.0, 1.0, 0.0},
    {0.0, 0.0, 1.0},
    {1.0, 0.0, 1.0},
    {0.5, 0.5, 0.0},
    {0.5, 0.0, 0.0},
    {0.0, 0.5, 0.0},
    {0.0, 0.0, 0.5},
    {0.5, 0.0, 1.0},
    {0.0, 1.0, 0.5},
    {1.0, 0.0, 0.5},
    {0.0, 0.5, 1.0}
}

Definition at line 104 of file plotter.h.

Definition at line 460 of file display.h.

Definition at line 466 of file display.h.

Initial value:
{
    {"GRAY8", 1, {8}, 8, false},
    {"GRAY16LE", 1, {16}, 16, false},
    {"RGB24", 3, {8,8,8}, 24, false},
    {"BGR24", 3, {8,8,8}, 24, false},
    {"YUYV422", 3, {4,2,2}, 16, false},
    {"",0,{0,0,0,0},0,0}
}

Definition at line 61 of file video.cpp.

const int pangolin::tab_h = 20 [static]

Definition at line 45 of file widgets.cpp.

const int pangolin::tab_p = 5 [static]

Definition at line 46 of file widgets.cpp.

const int pangolin::tab_w = 15 [static]

Definition at line 44 of file widgets.cpp.

int pangolin::text_height = 8 [static]

Definition at line 55 of file widgets.cpp.

boost::ptr_unordered_map< std::string, _Var > pangolin::vars

Definition at line 42 of file vars.cpp.

const double pangolin::Zero3d[] = {0,0,0, 0,0,0, 0,0,0} [static]

Definition at line 41 of file simple_math.h.

const float pangolin::Zero3f[] = {0,0,0, 0,0,0, 0,0,0} [static]

Definition at line 46 of file simple_math.h.

const double pangolin::Zero4d[] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0} [static]

Definition at line 43 of file simple_math.h.

const float pangolin::Zero4f[] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0} [static]

Definition at line 48 of file simple_math.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


pangolin_wrapper
Author(s): Todor Stoyanov
autogenerated on Wed Feb 13 2013 14:03:25