\doxysection{Camera Class Reference}
\hypertarget{classCamera}{}\label{classCamera}\index{Camera@{Camera}}


{\ttfamily \#include $<$Camera.\+hpp$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classCamera_a6af7580ad67cf9b55fa44298bb05dd7b}\label{classCamera_a6af7580ad67cf9b55fa44298bb05dd7b} 
QPointF {\bfseries world\+Pos\+To\+Normalized\+Pos} (const Point\+\_\+2 \&) const
\begin{DoxyCompactList}\small\item\em normalized\+Pos is 0 to 1 within the GL widget (= camera view area) \end{DoxyCompactList}\item 
\Hypertarget{classCamera_a84281c196709702009ff3f1d3c77df66}\label{classCamera_a84281c196709702009ff3f1d3c77df66} 
Point\+\_\+2 {\bfseries normalized\+Pos\+To\+World\+Pos} (const QPointF \&) const
\item 
\Hypertarget{classCamera_a25d7dee3fa637199b79cfdbd8fa64570}\label{classCamera_a25d7dee3fa637199b79cfdbd8fa64570} 
bool {\bfseries is\+Visible} (const Bbox\+\_\+2 \&bbox) const
\item 
\Hypertarget{classCamera_af508dcba1d3cd25a0f5ea68068a91670}\label{classCamera_af508dcba1d3cd25a0f5ea68068a91670} 
void {\bfseries load\+Uniforms} ()
\item 
\Hypertarget{classCamera_ab1c68cb102080840b6170d71ad5819d4}\label{classCamera_ab1c68cb102080840b6170d71ad5819d4} 
float {\bfseries adjust\+Line\+Width} (float) const
\item 
\Hypertarget{classCamera_a605cbdb77e61cc9a03cb6917a3b9d676}\label{classCamera_a605cbdb77e61cc9a03cb6917a3b9d676} 
void {\bfseries set\+Base\+Dimensions} (uint w, uint h, double units\+Per\+Nano\+Meter)
\item 
\Hypertarget{classCamera_a460652aff5eccf76ffa5f77d76226ccc}\label{classCamera_a460652aff5eccf76ffa5f77d76226ccc} 
void {\bfseries set\+Zoom} (float, QPointF anchor=QPointF(0.\+5, 0.\+5))
\item 
\Hypertarget{classCamera_a401eda2336683e04d9d12f5c7e7a83e5}\label{classCamera_a401eda2336683e04d9d12f5c7e7a83e5} 
void {\bfseries set\+Origin} (const Point\+\_\+2 \&)
\item 
\Hypertarget{classCamera_a6ac74405faff3c994258e42e4c20d5cf}\label{classCamera_a6ac74405faff3c994258e42e4c20d5cf} 
void {\bfseries set\+Origin\+Relative} (const Vector\+\_\+2 \&)
\item 
\Hypertarget{classCamera_af0d2f85aa501dc18bc248d988f2e9ad8}\label{classCamera_af0d2f85aa501dc18bc248d988f2e9ad8} 
void {\bfseries set\+Center} (const Point\+\_\+2 \&)
\item 
\Hypertarget{classCamera_a4d8d94f197c6a7ac64d59103acfa4565}\label{classCamera_a4d8d94f197c6a7ac64d59103acfa4565} 
void {\bfseries set\+View} (const Point\+\_\+2 \&origin, const Vector\+\_\+2 \&size)
\item 
\Hypertarget{classCamera_ac8c480ee50927057d7bb0697a9104b91}\label{classCamera_ac8c480ee50927057d7bb0697a9104b91} 
void {\bfseries set\+ZNear} (float z)
\item 
\Hypertarget{classCamera_a3f0e65fd38306a4c107b9d966cdee312}\label{classCamera_a3f0e65fd38306a4c107b9d966cdee312} 
void {\bfseries set\+ZFar} (float z)
\item 
\Hypertarget{classCamera_a6251348d68588d60078aaa809396d47e}\label{classCamera_a6251348d68588d60078aaa809396d47e} 
void {\bfseries set\+ZRange} (float near, float far)
\item 
\Hypertarget{classCamera_a8e6faf7ff463e6914eb233987703d693}\label{classCamera_a8e6faf7ff463e6914eb233987703d693} 
void {\bfseries move\+By} (const Vector\+\_\+2 \&v)
\item 
\Hypertarget{classCamera_adc068eb20f61cecda87df5be10999189}\label{classCamera_adc068eb20f61cecda87df5be10999189} 
const Bbox\+\_\+2 {\bfseries get\+Bbox} () const
\item 
\Hypertarget{classCamera_a139faa5ae655a6a5441d215c86eaafb9}\label{classCamera_a139faa5ae655a6a5441d215c86eaafb9} 
const float {\bfseries get\+Zoom} () const
\item 
\Hypertarget{classCamera_a5cff454b9142f1c11967f27b07e5ff70}\label{classCamera_a5cff454b9142f1c11967f27b07e5ff70} 
const Vector\+\_\+2 \& {\bfseries get\+Dims} () const
\item 
\Hypertarget{classCamera_abef28e6bca556f6270d022c30bdfcb05}\label{classCamera_abef28e6bca556f6270d022c30bdfcb05} 
const Point\+\_\+2 \& {\bfseries get\+Corner\+Min} () const
\item 
\Hypertarget{classCamera_a8e628cfb6b0b9190c143f4b8a74e8e7d}\label{classCamera_a8e628cfb6b0b9190c143f4b8a74e8e7d} 
const Point\+\_\+2 \& {\bfseries get\+Corner\+Max} () const
\item 
\Hypertarget{classCamera_a71996be67984757526de9f9ad3b371c8}\label{classCamera_a71996be67984757526de9f9ad3b371c8} 
const Point\+\_\+2 \& {\bfseries get\+Origin} () const
\item 
\Hypertarget{classCamera_a23a54d97cbd45aa9d4131e494a53c666}\label{classCamera_a23a54d97cbd45aa9d4131e494a53c666} 
const \mbox{\hyperlink{classmath_1_1Mat4}{math\+::\+Mat4}} \& {\bfseries get\+MVP} () const
\item 
\Hypertarget{classCamera_aff49436ada4c55207b98c0f539aafa64}\label{classCamera_aff49436ada4c55207b98c0f539aafa64} 
const float \texorpdfstring{$\ast$}{*} {\bfseries get\+Float\+MVP} () const
\item 
\Hypertarget{classCamera_ad5e5bd4add08ed9eb965b4bfc36fc58f}\label{classCamera_ad5e5bd4add08ed9eb965b4bfc36fc58f} 
GLuint {\bfseries get\+UBO} () const
\end{DoxyCompactItemize}
\doxysubsubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classCamera_abd321f5a60919673d877ffd1ab32d913}\label{classCamera_abd321f5a60919673d877ffd1ab32d913} 
\begin{tabbing}
xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill
struct \{\\
\>GLfloat {\bfseries MVP} \mbox{[}16\mbox{]}\\
\} {\bfseries mUniforms}\\

\end{tabbing}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\doxylink{classCamera}{Camera} CLASS Controls the view of the board. Zoom\+: multiplier for view area, i.\+e. smaller values zoom in 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/chr/devel/\+Ph\+D/\+Environment/pub/\+PCBEnv/pcbenv/cxx/\+UI/Camera.\+hpp\end{DoxyCompactItemize}
