iMSTK
Interactive Medical Simulation Toolkit
imstkIBLProbe.h
1 /*
2 ** This file is part of the Interactive Medical Simulation Toolkit (iMSTK)
3 ** iMSTK is distributed under the Apache License, Version 2.0.
4 ** See accompanying NOTICE for details.
5 */
6 
7 #pragma once
8 
9 #include <memory>
10 #include <string>
11 
12 namespace imstk
13 {
14 class Texture;
15 
26 class IblProbe
27 {
28 public:
36  IblProbe(std::string irradianceCubemapPath,
37  std::string radianceCubemapPath, std::string brdfLUTPath);
38 
42  std::shared_ptr<Texture> getIrradianceCubemapTexture();
43 
47  std::shared_ptr<Texture> getRadianceCubemapTexture();
48 
52  std::shared_ptr<Texture> getBrdfLUTTexture();
53 
54 protected:
55  std::string m_irradianceCubemapPath;
56  std::string m_radianceCubemapPath;
57  std::string m_brdfLUTPath;
58 
59  std::shared_ptr<Texture> m_irradianceCubemapTexture = nullptr;
60  std::shared_ptr<Texture> m_radianceCubemapTexture = nullptr;
61  std::shared_ptr<Texture> m_brdfLUTTexture = nullptr;
62 };
63 } // namespace imstk
std::shared_ptr< Texture > getRadianceCubemapTexture()
TODO.
IblProbe(std::string irradianceCubemapPath, std::string radianceCubemapPath, std::string brdfLUTPath)
Compound Geometry.
std::shared_ptr< Texture > getBrdfLUTTexture()
TODO.
Image-based lighting probe.
Definition: imstkIBLProbe.h:26
std::shared_ptr< Texture > getIrradianceCubemapTexture()
TODO.