Omnidome
Fulldome Mapping Software Toolkit
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Data Structures | Typedefs | Functions
omni Namespace Reference

Header to document namespaces. More...

Namespaces

 canvas
 Namespace for canvases.
 
 exception
 
 geometry
 Namespace for geometry functionality.
 
 input
 Namespace for inputs.
 
 mapping
 Namespace for mappings.
 
 media
 
 patch
 
 proj
 Namespace for projector related classes.
 
 render
 
 serialization
 Namespace for serialization functionality.
 
 ui
 Namespace for user interface elements and widgets.
 
 util
 
 visual
 Namespace for OpenGL visualization.
 

Data Structures

class  BlendBrush
 BlendBrush for drawing on the blendmask Holds an internal pixel buffer. More...
 
class  BlendMask
 A blend mask consists of an edge mask and stroke mask with a brush Edge mask and stroke mask are stored in different buffers. More...
 
class  BlendSettings
 Common blend mask settings for the all tunings in a session. More...
 
struct  Buffer
 A buffer holds an w x h pixel array. More...
 
class  Exception
 Base class for all exception. Throws a message with QString type. More...
 
struct  Id
 Id type for classes An Id must only contain alpha numerical characters and must begin with a letter. More...
 
class  LengthUnit
 An encapsulation for length units. More...
 
struct  RGBAFloat
 RGBA float pixel type. More...
 
struct  PixelConverter
 Template for converting IN pixel type to OUT pixel type. More...
 
struct  PixelConverter< IN, QColor >
 Convert to QColor. More...
 
struct  PixelConverter< uint8_t, QColor >
 Convert byte value to grayscale QColor. More...
 
struct  PixelConverter< RGBAFloat, QColor >
 Convert RGBA to QColor. More...
 
struct  PixelConverter< int, QColor >
 Convert int value to grayscale QColor. More...
 
struct  PixelConverter< unsigned int, QColor >
 Convert int value to grayscale QColor. More...
 
class  PluginInfo
 Holds meta information about a plugins Only plugin loader can construct a plugin info. More...
 
class  PluginLoader
 PluginLoader singleton to load plugins from multiple directories Plugins have the extension omnix. More...
 
class  Session
 A session consists of a canvas, a mapping, a list of tunings and one or several inputs. More...
 
class  TypeIdInterface
 Abstract Interface with a single virtual member function which returns. More...
 
class  TypeIdMemory
 Helper class to store objects with a certain type id in QBuffer Used in GUI for storing previously selected mapping or canvas types. More...
 
class  WarpGrid
 A warp grid is a 2D bezier grid with MxN points Default size 6x6 points. Selected points are also stored: More...
 
class  WarpPoint
 A Warp defines a bezier point with one position and two handles / * Also stores flag if it is selected. More...
 

Typedefs

typedef canvas::Interface Canvas
 
typedef canvas::Factory CanvasFactory
 
using AbstractFactory = boostx::factory< INTERFACE, TypeInfo, ARGS...>
 
typedef std::set< IdIdSet
 Id set typedef. More...
 
typedef input::Interface Input
 
typedef input::Factory InputFactory
 
typedef input::List InputList
 
typedef mapping::Interface Mapping
 
typedef mapping::Factory MappingFactory
 
typedef patch::Interface Patch
 
typedef patch::Factory PatchFactory
 
typedef patch::List PatchList
 
typedef proj::Setup ProjectorSetup
 
typedef Buffer< RGBAFloatRenderBuffer
 
typedef serialization::Interface SerializationInterface
 

Functions

bool operator== (BlendBrush const &_lhs, BlendBrush const &_rhs)
 
bool operator== (BlendMask const &_lhs, BlendMask const &_rhs)
 
bool operator== (BlendSettings const &_lhs, BlendSettings const &_rhs)
 
bool operator== (LengthUnit const &_lhs, LengthUnit const &_rhs)
 Test for equality. ScreenSetup is ignored. More...
 
bool operator== (Session const &_lhs, Session const &_rhs)
 
bool operator== (WarpGrid const &_lhs, WarpGrid const &_rhs)
 
bool operator== (WarpPoint const &_lhs, WarpPoint const &_rhs)
 
 BOOSTX_DECL_TYPE_INFO (TypeInfo, Id, typeId, getTypeId) template< typename INTERFACE
 Alias template for factories. More...
 
template<typename IN , typename OUT >
void convertPixel (const IN &_in, OUT &_out)
 Convert IN to OUT pixel. More...
 
template<typename OUT , typename IN >
OUT convertPixel (const IN &_in)
 Convert pixel IN to OUT pixel and return OUT. More...
 

Detailed Description

Header to document namespaces.

Main namespace

Typedef Documentation

using omni::AbstractFactory = typedef boostx::factory<INTERFACE, TypeInfo, ARGS ...>
typedef std::set<Id> omni::IdSet

Id set typedef.

Function Documentation

omni::BOOSTX_DECL_TYPE_INFO ( TypeInfo  ,
Id  ,
typeId  ,
getTypeId   
)

Alias template for factories.

template<typename IN , typename OUT >
void omni::convertPixel ( const IN &  _in,
OUT &  _out 
)

Convert IN to OUT pixel.

87  {
88  PixelConverter<IN, OUT>()(_in, _out);
89  }
template<typename OUT , typename IN >
OUT omni::convertPixel ( const IN &  _in)

Convert pixel IN to OUT pixel and return OUT.

93  {
94  OUT _out;
95 
96  convertPixel(_in, _out);
97  return _out;
98  }
OUT convertPixel(const IN &_in)
Convert pixel IN to OUT pixel and return OUT.
Definition: PixelConverter.h:93
bool omni::operator== ( BlendSettings const &  _lhs,
BlendSettings const &  _rhs 
)
75  {
76  return
77  OMNI_TEST_MEMBER_EQUAL(colorMode_) &&
78  OMNI_TEST_MEMBER_EQUAL(showInWarpMode_) &&
79  OMNI_TEST_MEMBER_EQUAL(inputOpacity_);
80  }
#define OMNI_TEST_MEMBER_EQUAL(member)
Definition: util.h:125
bool omni::operator== ( WarpPoint const &  _lhs,
WarpPoint const &  _rhs 
)
127  {
128  return
129  OMNI_TEST_MEMBER_EQUAL(pos_) &&
130  OMNI_TEST_MEMBER_EQUAL(c1_) &&
131  OMNI_TEST_MEMBER_EQUAL(c2_) &&
132  OMNI_TEST_MEMBER_EQUAL(selected_);
133  }
#define OMNI_TEST_MEMBER_EQUAL(member)
Definition: util.h:125
bool omni::operator== ( LengthUnit const &  _lhs,
LengthUnit const &  _rhs 
)

Test for equality. ScreenSetup is ignored.

148  {
149  return OMNI_TEST_MEMBER_EQUAL(type_);
150  }
#define OMNI_TEST_MEMBER_EQUAL(member)
Definition: util.h:125
bool omni::operator== ( BlendMask const &  _lhs,
BlendMask const &  _rhs 
)
168  {
169  return
170  OMNI_TEST_MEMBER_EQUAL(rect_) &&
171  OMNI_TEST_MEMBER_EQUAL(gamma_) &&
172  OMNI_TEST_MEMBER_EQUAL(brush_) &&
173  OMNI_TEST_MEMBER_EQUAL(strokeBuffer_);
174  }
#define OMNI_TEST_MEMBER_EQUAL(member)
Definition: util.h:125
bool omni::operator== ( Session const &  _lhs,
Session const &  _rhs 
)
240  {
241  return
242  OMNI_TEST_MEMBER_EQUAL(tunings_) &&
243  OMNI_TEST_PTR_MEMBER_EQUAL(mapping_) &&
244  OMNI_TEST_MEMBER_EQUAL(inputs_) &&
245  OMNI_TEST_PTR_MEMBER_EQUAL(canvas_) &&
246  OMNI_TEST_MEMBER_EQUAL(mode_) &&
247  OMNI_TEST_MEMBER_EQUAL(scene_) &&
248  OMNI_TEST_MEMBER_EQUAL(blendSettings_) &&
249  OMNI_TEST_MEMBER_EQUAL(exportSettings_)
250  ;
251  }
#define OMNI_TEST_MEMBER_EQUAL(member)
Definition: util.h:125
#define OMNI_TEST_PTR_MEMBER_EQUAL(member)
Definition: util.h:128
bool omni::operator== ( WarpGrid const &  _lhs,
WarpGrid const &  _rhs 
)
261  {
262  return
263  OMNI_TEST_MEMBER_EQUAL(horizontal_) &&
264  OMNI_TEST_MEMBER_EQUAL(vertical_) &&
265  OMNI_TEST_MEMBER_EQUAL(points_);
266  }
#define OMNI_TEST_MEMBER_EQUAL(member)
Definition: util.h:125
bool omni::operator== ( BlendBrush const &  _lhs,
BlendBrush const &  _rhs 
)
267  {
268  return
269  OMNI_TEST_MEMBER_EQUAL(size_) &&
270  OMNI_TEST_MEMBER_EQUAL(feather_) &&
271  OMNI_TEST_MEMBER_EQUAL(opacity_) &&
272  OMNI_TEST_MEMBER_EQUAL(invert_);
273  }
#define OMNI_TEST_MEMBER_EQUAL(member)
Definition: util.h:125