SO3Engine
|
SO3Window.h
Go to the documentation of this file.
81 SWindow(SRoot* parent, const ScolWindowHandle& windowHandle, const std::string& windowName, const int& width, const int& height, const std::string& fsaa);
139 SViewPort* CreateViewport(SCamera* camera, int priority, const float& x, const float& y, const float& w, const float& h);
311 void SetStereoCustomProjectonMatrix(bool enable, const Ogre::Matrix4 &leftMatrix, const Ogre::Matrix4 &rightMatrix);
312 void GetStereoCustomProjectonMatrix(bool &enabled, Ogre::Matrix4 &leftMatrix, Ogre::Matrix4 &rightMatrix) const;
313 void SetStereoTimeWarpMatrix(const Ogre::Matrix4 &leftStartMatrix, const Ogre::Matrix4 &leftEndMatrix, const Ogre::Matrix4 &rightStartMatrix, const Ogre::Matrix4 &rightEndMatrix);
315 void SetStereoMeshUVConfig(Ogre::Vector2 leftuvscale, Ogre::Vector2 leftuvoffset, Ogre::Vector2 rightuvscale, Ogre::Vector2 rightuvoffset);
317 void SetStereoMeshLeft(std::vector<Ogre::Vector3> vertices, std::vector<std::vector<Ogre::Vector2> > uvs, std::vector<Ogre::Real> vignetteColor, std::vector<Ogre::Real> warp, std::vector<int> indexs);
318 void SetStereoMeshRight(std::vector<Ogre::Vector3> vertices, std::vector<std::vector<Ogre::Vector2> > uvs, std::vector<Ogre::Real> vignetteColor, std::vector<Ogre::Real> warp, std::vector<int> indexs);
librairies include
Definition SO3Camera.h:43
Definition SO3DataScol.h:41
Definition SO3Point.h:37
Definition SO3RayCast.h:41
Definition SO3Root.h:73
Definition SO3ViewPort.h:56
Definition SO3Window.h:45
void windowFocusChange(Ogre::RenderWindow *rw)
Definition SO3Window.cpp:639
void SetStereoTimeWarpMatrix(const Ogre::Matrix4 &leftStartMatrix, const Ogre::Matrix4 &leftEndMatrix, const Ogre::Matrix4 &rightStartMatrix, const Ogre::Matrix4 &rightEndMatrix)
Definition SO3Window.cpp:1153
void SetStereoAspectRatio(const float &ratio)
Definition SO3Window.cpp:1123
void RegisterStereoViewport(SViewPort *viewport)
Definition SO3Window.cpp:528
bool UpdateStereoCompositorState(SViewPort *viewport, const Ogre::String compname, bool state)
Definition SO3Window.cpp:499
void SetStereoProjectionOffset(const float &offset)
Definition SO3Window.cpp:1118
void UpdateStereoCameraMatrix(SViewPort *viewport, Ogre::Camera *camera)
Definition SO3Window.cpp:516
void SetStereoMeshRight(std::vector< Ogre::Vector3 > vertices, std::vector< std::vector< Ogre::Vector2 > > uvs, std::vector< Ogre::Real > vignetteColor, std::vector< Ogre::Real > warp, std::vector< int > indexs)
Definition SO3Window.cpp:1178
void UpdateStereoCamera(SViewPort *viewport, Ogre::Camera *camera)
Definition SO3Window.cpp:510
void SetStereoChromaticAbCorrection(bool enable, Ogre::Vector4 chromAbC)
Definition SO3Window.cpp:1138
virtual void postRenderTargetUpdate(const Ogre::RenderTargetEvent &evt)
Definition SO3Window.cpp:310
std::array< SCOL_PTR_TYPE, 2 > GetStereoTextures()
Definition SO3Window.cpp:1183
Ogre::RenderWindow * GetOgreRenderWindowPointer()
Definition SO3Window.cpp:441
void RemoveViewport(SViewPort *existingViewport)
Definition SO3Window.cpp:564
void SetStereoCustomProjectonMatrix(bool enable, const Ogre::Matrix4 &leftMatrix, const Ogre::Matrix4 &rightMatrix)
Definition SO3Window.cpp:1143
void RestoreStereoCamera(SViewPort *viewport)
Definition SO3Window.cpp:504
void SynchStereoViewportSetup(SViewPort *viewport, bool overlay=false, bool shadow=false)
Definition SO3Window.cpp:534
void DeleteViewport(SViewPort *existingViewport)
Definition SO3Window.cpp:459
void SetStereoMeshLeft(std::vector< Ogre::Vector3 > vertices, std::vector< std::vector< Ogre::Vector2 > > uvs, std::vector< Ogre::Real > vignetteColor, std::vector< Ogre::Real > warp, std::vector< int > indexs)
Definition SO3Window.cpp:1173
void SetStereoWindow(SO3::SPoint< int > pos, SO3::SPoint< int > size, int index, bool state)
Definition SO3Window.cpp:1168
void WriteContentsToFile(const std::string &path)
Definition SO3Window.cpp:1276
void SetStereoDistortion(bool enable, Ogre::Vector4 dist)
Definition SO3Window.cpp:1133
void UnregisterStereoViewport(SViewPort *viewport)
Definition SO3Window.cpp:522
bool IsStereoViewportRegistered(SViewPort *viewport)
Definition SO3Window.cpp:540
const SViewPortList & GetViewportList() const
Definition SO3Window.cpp:580
bool CheckVideoMode(const int width, const int height)
Definition SO3Window.cpp:989
int Size(const int &x, const int &y, const int &w, const int &h, const int &ext)
Definition SO3Window.cpp:643
void SetSelectorEnable(const bool &state)
Definition SO3Window.cpp:334
void SetStereoEyesSpacing(const float &eyesSpacing)
Definition SO3Window.cpp:1103
void SetStereoMeshRttSize(SO3::SPoint< int > leftsize, SO3::SPoint< int > rightsize)
Definition SO3Window.cpp:1163
void SetStereoRotateView(const bool state)
Definition SO3Window.cpp:1108
SRaycastResult RayCast(const int &pixelsX, const int &pixelsY)
Definition SO3Window.cpp:1210
SViewPort * GetViewport(const int &priority) const
Definition SO3Window.cpp:585
virtual void preRenderTargetUpdate(const Ogre::RenderTargetEvent &evt)
Definition SO3Window.cpp:235
std::array< SO3::SPoint< int >, 2 > GetStereoViewportSize()
Definition SO3Window.cpp:1188
void RefreshSelector(const bool &forceRefresh=false)
Definition SO3Window.cpp:327
void SetStereoMode(const StereoManager::StereoMode &stereoMode)
Definition SO3Window.cpp:1085
SRaycastResult IndRayCast(const int &pixelsX, const int &pixelsY)
Definition SO3Window.cpp:1223
SViewPort * CreateViewport(SCamera *camera, int priority, const float &x, const float &y, const float &w, const float &h)
Definition SO3Window.cpp:446
void SetStereoMeshUVConfig(Ogre::Vector2 leftuvscale, Ogre::Vector2 leftuvoffset, Ogre::Vector2 rightuvscale, Ogre::Vector2 rightuvoffset)
Definition SO3Window.cpp:1158
void GetStereoCustomProjectonMatrix(bool &enabled, Ogre::Matrix4 &leftMatrix, Ogre::Matrix4 &rightMatrix) const
Definition SO3Window.cpp:1148
bool SetFullScreen(const bool &fullscreen, const int &width=0, const int &height=0)
Definition SO3Window.cpp:857
Definition SO3StereoManager.h:51
Definition SO3DataScol.h:38
std::unordered_map< int, SViewPort * > SViewPortList
Definition SO3Prerequisites.h:278
Generated by 1.9.8