Blobalizer
|
#include <Corrade/Containers/Array.h>
#include <Corrade/Containers/ArrayViewStl.h>
#include <Corrade/Containers/Optional.h>
#include <Corrade/Containers/Pair.h>
#include <Corrade/PluginManager/Manager.h>
#include <Corrade/Utility/Arguments.h>
#include <Corrade/Utility/DebugStl.h>
#include <Magnum/GL/Buffer.h>
#include <Magnum/GL/BufferImage.h>
#include <Magnum/GL/BufferTexture.h>
#include <Magnum/GL/BufferTextureFormat.h>
#include <Magnum/GL/DefaultFramebuffer.h>
#include <Magnum/GL/Framebuffer.h>
#include <Magnum/GL/Mesh.h>
#include <Magnum/GL/PixelFormat.h>
#include <Magnum/GL/Renderbuffer.h>
#include <Magnum/GL/RenderbufferFormat.h>
#include <Magnum/GL/Renderer.h>
#include <Magnum/GL/Texture.h>
#include <Magnum/GL/TextureFormat.h>
#include <Magnum/ImGuiIntegration/Context.hpp>
#include <Magnum/ImageView.h>
#include <Magnum/Math/Color.h>
#include <Magnum/Mesh.h>
#include <Magnum/MeshTools/Compile.h>
#include <Magnum/PixelFormat.h>
#include <Magnum/Platform/Sdl2Application.h>
#include <Magnum/SceneGraph/Camera.h>
#include <Magnum/SceneGraph/Drawable.h>
#include <Magnum/SceneGraph/MatrixTransformation3D.h>
#include <Magnum/SceneGraph/Scene.h>
#include <Magnum/Shaders/DistanceFieldVectorGL.h>
#include <Magnum/Shaders/PhongGL.h>
#include <Magnum/Shaders/GenericGL.h>
#include <Magnum/Trade/AbstractImporter.h>
#include <Magnum/Trade/ImageData.h>
#include <Magnum/Trade/MeshData.h>
#include <Magnum/Trade/PhongMaterialData.h>
#include <Magnum/Trade/SceneData.h>
#include <Magnum/Trade/TextureData.h>
#include <filesystem>
#include <fstream>
#include <tmd/TriangleMeshDistance.h>
#include "BoundingBox.h"
#include "RayMarchingShader.h"
#include "arcball/ArcBallCamera.h"
#include "ChemStructureShader.h"
Classes | |
class | Application |
The main application class. This class handles the setup and rendering of the application. More... | |
class | ChemStructureDrawable |
The drawable class for the chemical structure. This is used for grouping and rendering the meshes for the internal structure of the molecule. More... | |
Typedefs | |
typedef SceneGraph::Object< SceneGraph::MatrixTransformation3D > | Object3D |
typedef SceneGraph::Scene< SceneGraph::MatrixTransformation3D > | Scene3D |
Functions | |
bool | saveSdfToFile (const Containers::ArrayView< float > &sdf, const Vector3ui &dimensions, const BoundingBox3f &boundingBox, const std::string &filename) |
bool | loadSdfFromFile (GL::Buffer &buffer, Vector3ui &dimensions, BoundingBox3f &boundingBox, const std::string &filename) |
typedef SceneGraph::Object<SceneGraph::MatrixTransformation3D> Object3D |
typedef SceneGraph::Scene<SceneGraph::MatrixTransformation3D> Scene3D |
bool loadSdfFromFile | ( | GL::Buffer & | buffer, |
Vector3ui & | dimensions, | ||
BoundingBox3f & | boundingBox, | ||
const std::string & | filename | ||
) |
bool saveSdfToFile | ( | const Containers::ArrayView< float > & | sdf, |
const Vector3ui & | dimensions, | ||
const BoundingBox3f & | boundingBox, | ||
const std::string & | filename | ||
) |