20#ifndef _SOURCE_RENDERING_TFDIHEDRALRENDERER_H_
21#define _SOURCE_RENDERING_TFDIHEDRALRENDERER_H_
23#include "tfSubRenderer.h"
25#include <shaders/tfFlat3D.h>
28#include <Magnum/GL/Mesh.h>
29#include <Magnum/Math/Color.h>
30#include <Magnum/Mesh.h>
45 std::vector<Magnum::Vector4> _clipPlanes;
48 Magnum::GL::Buffer _buffer{Corrade::Containers::NoCreate};
49 Magnum::GL::Mesh _mesh{Corrade::Containers::NoCreate};
Definition tfArcBallCamera.h:66
Tissue Forge rendering and visualization.
Definition tfAngle.h:38
Definition tfDihedralRenderer.h:36
HRESULT draw(ArcBallCamera *camera, const iVector2 &viewportSize, const fMatrix4 &modelViewMat) override
Updates visualization.
const unsigned removeClipPlaneEquation(const unsigned int &id) override
Removes a clip plane equation.
HRESULT start(const std::vector< fVector4 > &clipPlanes) override
Starts the renderer.
const unsigned addClipPlaneEquation(const Magnum::Vector4 &pe) override
Adds a clip plane equation.
void setClipPlaneEquation(unsigned id, const Magnum::Vector4 &pe) override
Sets a clip plane equation.
Definition tfSubRenderer.h:34
int32_t HRESULT
Definition tf_port.h:255