17 #ifndef GZ_RENDERING_OGRE2_WIDEANGLECAMERA_HH_
18 #define GZ_RENDERING_OGRE2_WIDEANGLECAMERA_HH_
23 #include <gz/utils/ImplPtr.hh>
26 #include "gz/rendering/ogre2/Export.hh"
34 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
47 public:
virtual void Init()
override;
110 std::function<
void(
const unsigned char *,
unsigned int,
unsigned int,
111 unsigned int,
const std::string &)> _subscriber)
override;
186 protected:
void SetupMSAA(Ogre::CompositorManager2 *_ogreCompMgr,
190 private:
void UpdateBackgroundMaterial();
198 private:
void RetrieveCubePassSceneDefs(
199 Ogre::CompositorManager2 *_ogreCompMgr,
bool _withMsaa);
203 private:
void PrepareForCubemapFacePass(Ogre::CompositorPass *_pass);
207 private:
void PrepareForFinalPass(Ogre::Pass *_pass);
211 GZ_UTILS_UNIQUE_IMPL_PTR(dataPtr)
215 private: friend class Ogre2WideAngleCameraWorkspaceListenerPrivate;