7#include <TGeoManager.h>
13class ComponentAnalyticField;
14class ComponentNeBem2d;
30 void SetArea(
const double xmin,
const double ymin,
const double zmin,
31 const double xmax,
const double ymax,
const double zmax);
47 bool m_useWireMarker =
true;
49 std::string m_label =
"Cell Layout";
52 bool m_hasUserArea =
false;
53 double m_xMin = -1., m_yMin = -1., m_zMin = -1.;
54 double m_xMax = 1., m_yMax = 1., m_zMax = 1.;
60 std::unique_ptr<TGeoManager> m_geo;
62 bool Plot(
const bool use3d);
64 void PlotWire(
const double x,
const double y,
const double d,
const int type);
66 void PlotWire(
const double x,
const double y,
const double d,
const int type,
69 void PlotTube(
const double x0,
const double y0,
const double r,
const int n);
71 void PlotTube(
const double x0,
const double y0,
72 const double r1,
const double r2,
const int n,
75 void PlotPlane(
const double x0,
const double y0,
76 const double x1,
const double y1);
78 void PlotPlane(
const double dx,
const double dy,
const double dz,
79 const double x0,
const double y0);
81 bool PlotNeBem(
const bool use3d);
83 void SetupGeo(
const double dx,
const double dy,
const double dz);
Two-dimensional implementation of the nearly exact Boundary Element Method.
Base class for visualization classes.
Visualize the "cell" defined in an analytic-field component.
~ViewCell()=default
Destructor.
void Plot3d()
Make a three-dimensional drawing of the cell geometry (using TGeo).
void SetArea()
Take the plot range from the bounding box of the component class.
void SetComponent(ComponentAnalyticField *comp)
Set the component for which to draw the cell geometry.
void Plot2d()
Make a two-dimensional drawing of the cell geometry.
void EnableWireMarkers(const bool on=true)
void DisableWireMarkers()