|
Omnidome
Fulldome Mapping Software Toolkit
|
Namespace for OpenGL visualization. More...
Namespaces | |
| detail | |
| util | |
Data Structures | |
| class | BoundingBox |
| Visualizer for draing a bounding box from bounds. More... | |
| class | Box |
| Box with subdivisions for drawing. More... | |
| class | CameraInterface |
| A generic camera interface. More... | |
| class | Circle |
| Visualizer for drawing a circle with VBO. More... | |
| struct | ContextBoundPtr |
| A pointer template which is free'd together with its context Holds an internal object which is responsible for freeing the held object when OpenGL context is free'd. More... | |
| class | Framebuffer32F |
| Framebuffer with 32-bit float pixel depth per channel. More... | |
| class | Grid |
| A cartesian grid with lining adapted to distance. More... | |
| class | Interface |
| Basic visual interface. More... | |
| struct | Light |
| A light with position and phong shader attributes. More... | |
| class | PerspectiveCamera |
| A perspective camera. More... | |
| class | Plane |
| A plane with n x m grid points Vertex data is not stored on host, it is copied to GPU directly. Plane has dimensions [-0.5,-0.5] - [0.5,0.5]. More... | |
| class | Projector |
| Visualizer for drawing a projector with halo. More... | |
| struct | Rectangle |
| Visualizer helper class for drawing a rectangle in an OpenGL context. More... | |
| class | Scene |
| A class that holds settings and elements for session 3d visualization Belongs to a session. More... | |
| class | Session |
| Base class for drawing a session. More... | |
| class | ShaderCompiler |
| Adds #include functionality to shader source code Compiles source code file with included files or compiles a shader. More... | |
| class | Sphere |
| Draw Handler for visualizing a centered sphere. More... | |
| class | Texture32F |
| RGBA Texture with 32-bit float for each channel. More... | |
| struct | Tracker |
| class | Tuning |
| Tuning visualizer. More... | |
| struct | UniformHandler |
| Uniform handler for a shader program Cares about bind and releasing shaders and texture uniforms. Should only be used with the visual::useShader function. More... | |
| struct | VBO |
| A small Vertex Buffer Object class. More... | |
| class | VertexVBO |
| Utility class for storing and drawing VBO data. More... | |
| class | WarpGrid |
| Draw Handler for WarpGrid. More... | |
Typedefs | |
| typedef std::function< void(QOpenGLFunctions &)> | ContextFunctor |
Enumerations | |
| enum | ProjectorViewMode { ProjectorViewMode::INSIDE, ProjectorViewMode::OUTSIDE, ProjectorViewMode::BOTH } |
| enum | EditMode { EditMode::CAMERA, EditMode::MOVE, EditMode::ROTATE } |
| Enum class to determine which scene element is edited. More... | |
| enum | MoveMode { MoveMode::MOVE_X, MoveMode::MOVE_Y, MoveMode::MOVE_Z, MoveMode::MOVE_XY } |
| Which direction to move with mouse. More... | |
| enum | RotateMode { RotateMode::PITCH, RotateMode::YAW, RotateMode::ROLL } |
| Rotate pitch, yaw, roll. More... | |
| enum | ProjectorSelectionMode { ProjectorSelectionMode::ALL, ProjectorSelectionMode::SELECTED, ProjectorSelectionMode::NONE } |
Functions | |
| bool | operator== (CameraInterface const &_lhs, CameraInterface const &_rhs) |
| Test for equality. More... | |
| void | contextSwitch (QOpenGLContext *_context, ContextFunctor f) |
| void | primaryContextSwitch (ContextFunctor) |
| Switch to primary context to create OpenGL objects like textures etc. More... | |
| void | withCurrentContext (ContextFunctor) |
| Do OpenGL operations with current context, if it exists. More... | |
| bool | operator== (Light const &_lhs, Light const &_rhs) |
| Test for equality. ScreenSetup is ignored. More... | |
| bool | operator== (PerspectiveCamera const &_lhs, PerspectiveCamera const &_rhs) |
| Test for equality. ScreenSetup is ignored. More... | |
| bool | operator== (Scene const &_lhs, Scene const &_rhs) |
| void | initShader (QOpenGLShaderProgram &_s, const char *_filename) |
| Initialize shader: load from file and compile. More... | |
| void | initShader (std::unique_ptr< QOpenGLShaderProgram > &_s, const char *_filename) |
| Initialize shader: load from file and compile. More... | |
| void | initShader (ContextBoundPtr< QOpenGLShaderProgram > &_s, const char *_filename) |
| Initialize shader: load from file and compile. More... | |
| void | useShader (QOpenGLShaderProgram &_s, std::function< void(UniformHandler &)> f) |
| Use shader with and do uniform assignment and drawing inside functor. More... | |
| bool | operator== (Tracker const &_lhs, Tracker const &_rhs) |
| Test for equality. ScreenSetup is ignored. More... | |
Namespace for OpenGL visualization.
| typedef std::function<void (QOpenGLFunctions&)> omni::visual::ContextFunctor |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
| void omni::visual::contextSwitch | ( | QOpenGLContext * | _context, |
| ContextFunctor | f | ||
| ) |
| void omni::visual::initShader | ( | QOpenGLShaderProgram & | _s, |
| const char * | _filename | ||
| ) |
Initialize shader: load from file and compile.
| void omni::visual::initShader | ( | std::unique_ptr< QOpenGLShaderProgram > & | _s, |
| const char * | _filename | ||
| ) |
Initialize shader: load from file and compile.
Dont do anything if shader is already allocated
| void omni::visual::initShader | ( | ContextBoundPtr< QOpenGLShaderProgram > & | _s, |
| const char * | _filename | ||
| ) |
Initialize shader: load from file and compile.
Dont do anything if shader is already allocated
| bool omni::visual::operator== | ( | PerspectiveCamera const & | _lhs, |
| PerspectiveCamera const & | _rhs | ||
| ) |
Test for equality. ScreenSetup is ignored.
| bool omni::visual::operator== | ( | CameraInterface const & | _lhs, |
| CameraInterface const & | _rhs | ||
| ) |
Test for equality.
Test for equality. ScreenSetup is ignored.
| bool omni::visual::operator== | ( | Tracker const & | _lhs, |
| Tracker const & | _rhs | ||
| ) |
Test for equality. ScreenSetup is ignored.
| bool omni::visual::operator== | ( | Light const & | _lhs, |
| Light const & | _rhs | ||
| ) |
Test for equality. ScreenSetup is ignored.
| bool omni::visual::operator== | ( | Scene const & | _lhs, |
| Scene const & | _rhs | ||
| ) |
| void omni::visual::primaryContextSwitch | ( | ContextFunctor | f | ) |
Switch to primary context to create OpenGL objects like textures etc.
| void omni::visual::useShader | ( | QOpenGLShaderProgram & | _s, |
| std::function< void(UniformHandler &)> | f | ||
| ) |
Use shader with and do uniform assignment and drawing inside functor.
| void omni::visual::withCurrentContext | ( | ContextFunctor | f | ) |
1.8.6