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) |
View & | CreateDisplay () |
Create unnamed display managed by pangolin (automatically deleted) | |
View & | CreatePanel (const std::string &name) |
Plotter & | CreatePlotter (const std::string &name, DataLog *log=0) |
Plotter & | CreatePlotter (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) |
View & | Display (const std::string &name) |
Create or retrieve named display managed by pangolin (automatically deleted) | |
View & | DisplayBase () |
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()) |
View * | FindChild (View &parent, int x, int y) |
const char * | FirstOpenBrace (const char *str) |
template<typename T > | |
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 > | |
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]) |
VideoInterface * | OpenVideo (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 PangolinGl * | context = 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< GuiVarChangedCallback > | gui_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< NewVarCallback > | new_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 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) |
typedef void(* pangolin::NewVarCallbackFn)(void *data, const std::string &name, _Var &var, const char *reg_type_name, bool brand_new) |
enum pangolin::io_method |
enum pangolin::Layout |
enum pangolin::Lock |
enum pangolin::Unit |
void pangolin::AddVar | ( | const string & | name, |
const string & | val | ||
) |
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] |
void pangolin::CopyDevMemtoTex | ( | T * | d_img, |
size_t | pitch, | ||
GlTextureCudaArray & | tex | ||
) | [inline] |
void pangolin::CopyPboToTex | ( | GlBufferCudaPtr & | buffer, |
GlTexture & | tex | ||
) |
void pangolin::CopyPboToTex | ( | const GlBufferCudaPtr & | buffer, |
GlTexture & | tex, | ||
GLenum | buffer_layout, | ||
GLenum | buffer_data_type | ||
) | [inline] |
View & pangolin::CreateDisplay | ( | ) |
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.
void pangolin::CrossProduct | ( | P | 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.
View & pangolin::DisplayBase | ( | ) |
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.
void pangolin::EnforceUpT_cw | ( | P | T_cw_4x4[4 *4], |
const P | up_w[3] | ||
) |
Definition at line 412 of file simple_math.h.
void pangolin::EnforceUpT_wc | ( | P | 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.
void pangolin::FillFromFile | ( | const std::string & | filename, |
std::vector< T > & | v, | ||
const T & | init = T() |
||
) | [inline] |
View* pangolin::FindChild | ( | View & | parent, |
int | x, | ||
int | y | ||
) |
Definition at line 924 of file display.cpp.
const char* pangolin::FirstOpenBrace | ( | const char * | str | ) |
T pangolin::FromFile | ( | const std::string & | filename, |
const T & | init = T() |
||
) | [inline] |
void pangolin::glColorBin | ( | int | bin, |
int | max_bins, | ||
double | sat = 1.0 , |
||
double | val = 1.0 |
||
) | [inline] |
void pangolin::glColorHSV | ( | double | hue, |
double | s, | ||
double | v | ||
) | [inline] |
void pangolin::glPixelTransferScale | ( | float | r, |
float | g, | ||
float | b | ||
) | [inline] |
void pangolin::glPixelTransferScale | ( | float | scale | ) | [inline] |
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.
void pangolin::GuiVarChanged | ( | Var< T > & | var | ) |
Definition at line 68 of file widgets.cpp.
bool pangolin::GuiVarHasChanged | ( | ) |
Definition at line 62 of file widgets.cpp.
bool pangolin::HadInput | ( | ) |
Returns true if user has interacted with the window since this was last called.
Definition at line 107 of file display.cpp.
bool pangolin::HasResized | ( | ) |
Returns true if user has resized the window.
Definition at line 117 of file display.cpp.
Definition at line 1299 of file display.cpp.
OpenGlMatrixSpec pangolin::IdentityMatrix | ( | OpenGlStack | type | ) |
Definition at line 1307 of file display.cpp.
P pangolin::Length | ( | P | v[R] | ) |
Definition at line 360 of file simple_math.h.
void pangolin::LieApplySE3vec | ( | P | x_b[3], |
const P | T_ba[3 *4], | ||
const P | x_a[3] | ||
) |
Definition at line 283 of file simple_math.h.
void pangolin::LieApplySO3 | ( | P | out[3], |
const P | R_ba[3 *3], | ||
const P | in[3] | ||
) |
Definition at line 277 of file simple_math.h.
void pangolin::LieGetRotation | ( | P | R_ba[3 *3], |
const P | T_ba[3 *4] | ||
) |
Definition at line 271 of file simple_math.h.
void pangolin::LieInverseSE3 | ( | P | T_ab[3 *4], |
const P | T_ba[3 *4] | ||
) |
Definition at line 342 of file simple_math.h.
void pangolin::LieMul4x4bySE3 | ( | P | 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.
void pangolin::LieMulSE3 | ( | P | 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.
void pangolin::LieMulSO3 | ( | P | 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.
void pangolin::LiePutSE3in4x4 | ( | P | out[4 *4], |
const P | in[3 *4] | ||
) |
Definition at line 306 of file simple_math.h.
void pangolin::LieSE3from4x4 | ( | P | out[3 *4], |
const P | in[4 *4] | ||
) |
Definition at line 316 of file simple_math.h.
void pangolin::LieSetIdentity | ( | P | T_ba[3 *4] | ) |
Definition at line 245 of file simple_math.h.
void pangolin::LieSetRotation | ( | P | T_ba[3 *4], |
const P | R_ba[3 *3] | ||
) |
Definition at line 252 of file simple_math.h.
void pangolin::LieSetSE3 | ( | P | T_ba[3 *4], |
const P | R_ba[3 *3], | ||
const P | a_b[3] | ||
) |
Definition at line 264 of file simple_math.h.
void pangolin::LieSetTranslation | ( | P | T_ba[3 *4], |
const P | a_b[3 *3] | ||
) |
Definition at line 258 of file simple_math.h.
void pangolin::LieTransposeSO3 | ( | P | R_ab[3 *3], |
const P | R_ba[3 *3] | ||
) |
Definition at line 336 of file simple_math.h.
void pangolin::MatAdd | ( | P | 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 | ) |
void pangolin::MatMul | ( | P | mo[R *C], |
const P | m1[R *M], | ||
const P | m2[M *C] | ||
) |
Definition at line 106 of file simple_math.h.
void pangolin::MatMul | ( | P | mo[R *C], |
const P | m1[R *M], | ||
const P | m2[M *C], | ||
P | s | ||
) |
Definition at line 118 of file simple_math.h.
void pangolin::MatMul | ( | P | m[R *C], |
const P | m1[R *C], | ||
P | scalar | ||
) |
Definition at line 158 of file simple_math.h.
void pangolin::MatMul | ( | P | m[R *C], |
P | scalar | ||
) |
Definition at line 166 of file simple_math.h.
void pangolin::MatMulTranspose | ( | P | mo[R *C], |
const P | m1[R *M], | ||
const P | m2[C *M] | ||
) |
Definition at line 130 of file simple_math.h.
void pangolin::MatOrtho | ( | P | m[N *N] | ) |
Definition at line 204 of file simple_math.h.
void pangolin::MatPrint | ( | const P | m[R *C] | ) |
Definition at line 51 of file simple_math.h.
void pangolin::MatPrint | ( | const P | m[R *C], |
std::string | name | ||
) |
Definition at line 63 of file simple_math.h.
void pangolin::MatSet | ( | P | m[R *C], |
... | |||
) |
Definition at line 77 of file simple_math.h.
void pangolin::MatSkew | ( | P | s[3 *3], |
const P | v[3] | ||
) |
Definition at line 190 of file simple_math.h.
void pangolin::MatSub | ( | P | m[R *C], |
const P | m1[R *C], | ||
const P | m2[R *C] | ||
) |
Definition at line 150 of file simple_math.h.
void pangolin::MatTranspose | ( | P | out[N *N], |
const P | in[N *N] | ||
) |
Definition at line 173 of file simple_math.h.
void pangolin::MatTranspose | ( | P | 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.
OpenGlMatrixSpec pangolin::negIdentityMatrix | ( | OpenGlStack | type | ) |
Definition at line 1316 of file display.cpp.
void pangolin::Normalise | ( | P | v[R] | ) |
Definition at line 374 of file simple_math.h.
VideoInterface * pangolin::OpenVideo | ( | std::string | str_uri | ) |
ostream& pangolin::operator<< | ( | ostream & | os, |
const FrameInput & | fi | ||
) |
Definition at line 56 of file input_record_repeat.cpp.
istream& pangolin::operator>> | ( | istream & | is, |
FrameInput & | fi | ||
) |
Definition at line 62 of file input_record_repeat.cpp.
Uri pangolin::ParseUri | ( | string | str_uri | ) |
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 | ) |
void pangolin::ProcessHistoricCallbacks | ( | NewVarCallbackFn | callback, |
void * | data, | ||
const std::string & | filter | ||
) | [inline] |
string pangolin::ProcessVal | ( | const string & | val | ) |
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] |
bool pangolin::Pushed | ( | bool & | button | ) | [inline] |
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 | ||
) |
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 | ||
) |
void pangolin::RenderViews | ( | ) |
Renders any views with default draw methods.
Definition at line 127 of file display.cpp.
void pangolin::Rotation | ( | P | R[3 *3], |
P | x, | ||
P | y, | ||
P | z | ||
) |
Definition at line 222 of file simple_math.h.
void pangolin::SetIdentity | ( | P | m[N *N] | ) |
Definition at line 97 of file simple_math.h.
void pangolin::SetZero | ( | P | m[R *C] | ) |
Definition at line 90 of file simple_math.h.
bool pangolin::ShouldQuit | ( | ) |
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] |
VideoPixelFormat pangolin::VideoFormatFromString | ( | const std::string & | format | ) |
basetime pangolin::WaitUntil | ( | basetime | t | ) | [inline] |
static int pangolin::xioctl | ( | int | fd, |
int | request, | ||
void * | arg | ||
) | [static] |
const GLuint pangolin::attachment_buffers[] [static] |
const GLdouble pangolin::AxisDirectionVector[][3] [static] |
{ {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] |
const CameraSpec pangolin::CameraSpecYDownZForward = {{0,0,1},{0,-1,0},{1,0,0},{0,-1},{1,0}} [static] |
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] |
static const float pangolin::colour_bg = {0.0,0.0,0.0} [static] |
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] |
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] |
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] |
const int pangolin::draw_modes_n = 2 [static] |
static void * pangolin::font = GLUT_BITMAP_HELVETICA_12 [static] |
Definition at line 44 of file plotter.cpp.
std::vector< GuiVarChangedCallback > pangolin::gui_var_changed_callbacks |
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.
const int pangolin::MAX_ATTACHMENTS = 8 |
std::vector< NewVarCallback > pangolin::new_var_callbacks |
const int pangolin::num_plot_colours = 12 [static] |
const int pangolin::panal_v_margin = 6 |
Definition at line 46 of file display.cpp.
const int pangolin::PANGO_CTRL = -96 |
const int pangolin::PANGO_OPTN = 132 |
const int pangolin::PANGO_SPECIAL = 128 |
const float pangolin::plot_colours[][3] [static] |
Handler pangolin::StaticHandler [static] |
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 |
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.