Mantid
Loading...
Searching...
No Matches
RenderingHelpers.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "MantidGeometry/DllConfig.h"
10#include <vector>
11
12class TopoDS_Shape;
13
14namespace Mantid {
15namespace Kernel {
16class V3D;
17}
18namespace Geometry {
19class RectangularDetector;
20class StructuredDetector;
21class IObjComponent;
22
23namespace detail {
24class GeometryTriangulator;
25class ShapeInfo;
26} // namespace detail
27
28namespace RenderingHelpers {
30MANTID_GEOMETRY_DLL void renderIObjComponent(const IObjComponent &objComp);
32MANTID_GEOMETRY_DLL void renderTriangulated(detail::GeometryTriangulator &triangulator);
34MANTID_GEOMETRY_DLL void renderShape(const detail::ShapeInfo &shapeInfo);
36MANTID_GEOMETRY_DLL void renderBitmap(const RectangularDetector &rectDet);
38MANTID_GEOMETRY_DLL void renderStructured(const StructuredDetector &structDet);
39} // namespace RenderingHelpers
40} // namespace Geometry
41} // namespace Mantid
Object Component class, this class brings together the physical attributes of the component to the po...
Definition: IObjComponent.h:37
RectangularDetector is a type of CompAssembly, an assembly of components.
StructuredDetector is a type of CompAssembly, an assembly of components.
GeometryTriangulator : Triangulates object surfaces.
MANTID_GEOMETRY_DLL void renderIObjComponent(const IObjComponent &objComp)
Render IObjComponent.
MANTID_GEOMETRY_DLL void renderStructured(const StructuredDetector &structDet)
Renders structured geometry (used for rendering StructuredDetector)
MANTID_GEOMETRY_DLL void renderTriangulated(detail::GeometryTriangulator &triangulator)
Render Traingulated Surface.
MANTID_GEOMETRY_DLL void renderShape(const detail::ShapeInfo &shapeInfo)
Renders a sphere, cuboid, hexahedron, cone or cylinder.
MANTID_GEOMETRY_DLL void renderBitmap(const RectangularDetector &rectDet)
Renders a Bitmap (used for rendering RectangularDetector)
Helper class which provides the Collimation Length for SANS instruments.