9#include "MantidGeometry/DllConfig.h"
37 double volume()
const override;
39 static bool pointsCoplanar(
const std::vector<Kernel::V3D> &vertices);
41 bool hasValidShape()
const override;
42 double distanceToPlane(
const Kernel::V3D &point)
const;
43 bool isValid(
const Kernel::V3D &point)
const override;
50 double solidAngle(
const Kernel::V3D &observer)
const override;
56 void getBoundingBox(
double &xmax,
double &ymax,
double &zmax,
double &xmin,
double &ymin,
57 double &zmin)
const override;
58 int getPointInObject(
Kernel::V3D &point)
const override;
61 const size_t)
const override;
63 const BoundingBox &activeRegion,
const size_t)
const override;
68 void draw()
const override;
69 void initDraw()
const override;
72 const std::string &id()
const override;
73 void setID(
const std::string &
id)
override { m_id = id; };
74 std::shared_ptr<GeometryHandler> getGeometryHandler()
const override;
76 static const std::string
Id;
77 size_t numberOfVertices()
const;
78 size_t numberOfTriangles()
const;
79 std::vector<double> getVertices()
const;
80 std::vector<uint32_t> getTriangles()
const;
std::string getName(const IMDDimension &self)
A simple structure that defines an axis-aligned cuboid shaped bounding box for a geometrical object.
IObject : Interface for geometry objects.
std::shared_ptr< GeometryHandler > m_handler
Geometry Handle for rendering.
static const double MinThickness
static const std::string Id
Id as static.
std::vector< uint32_t > m_triangles
Triangles are specified by indices into a list of vertices.
void setID(const std::string &id) override
std::vector< Kernel::V3D > m_vertices
Vertices.
BoundingBox m_boundingBox
Bounding box.
Kernel::Material m_material
Material composition.
std::string m_id
optional string identifier
Defines a track as a start point and a direction.
A material is defined as being composed of a given element, defined as a PhysicalConstants::NeutronAt...
Defines a 1D pseudo-random number generator, i.e.
Helper class which provides the Collimation Length for SANS instruments.
constexpr bool operator==(const wide_integer< Bits, Signed > &lhs, const wide_integer< Bits2, Signed2 > &rhs)