LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Representation of a single small volume (voxel). More...
#include "PhotonVoxels.h"
Public Types | |
using | DefaultPoint = geo::Point_t |
Public Member Functions | |
PhotonVoxel ()=default | |
PhotonVoxel (geo::Point_t const &min, geo::Point_t const &max) | |
PhotonVoxel (double xMin, double xMax, double yMin, double yMax, double zMin, double zMax) | |
template<typename Point = DefaultPoint> | |
decltype(auto) | GetLowerCorner () const |
Returns the voxel vertex (type Point ) with the lowest coordinates. More... | |
template<typename Point = DefaultPoint> | |
decltype(auto) | GetUpperCorner () const |
Returns the voxel vertex (type Point ) with the highest coordinates. More... | |
template<typename Point = DefaultPoint> | |
Point | GetCenter () const |
Returns the center of the voxel (type Point ). More... | |
Private Attributes | |
geo::Point_t | fVoxelMin |
geo::Point_t | fVoxelMax |
Representation of a single small volume (voxel).
Definition at line 20 of file PhotonVoxels.h.
Definition at line 34 of file PhotonVoxels.h.
|
default |
|
inline |
Definition at line 23 of file PhotonVoxels.h.
|
inline |
Definition at line 25 of file PhotonVoxels.h.
Point sim::PhotonVoxel::GetCenter | ( | ) | const |
Returns the center of the voxel (type Point
).
Definition at line 186 of file PhotonVoxels.h.
References fVoxelMax, fVoxelMin, sim::PhotonVoxelDef::GetRegionLowerCorner(), sim::PhotonVoxelDef::GetRegionUpperCorner(), and geo::vect::middlePoint().
Referenced by phot::CreateHybridLibrary::CreateHybridLibrary(), phot::PhotonLibraryHybrid::GetCount(), evgen::LightSource::produce(), and phot::PhotonVisibilityService::reconfigure().
decltype(auto) sim::PhotonVoxel::GetLowerCorner | ( | ) | const |
Returns the voxel vertex (type Point
) with the lowest coordinates.
Referenced by sim::PhotonVoxelDef::isInsideImpl().
decltype(auto) sim::PhotonVoxel::GetUpperCorner | ( | ) | const |
Returns the voxel vertex (type Point
) with the highest coordinates.
Referenced by sim::PhotonVoxelDef::isInsideImpl().
|
private |
Definition at line 31 of file PhotonVoxels.h.
Referenced by GetCenter(), and sim::PhotonVoxelDef::isInsideImpl().
|
private |
Definition at line 30 of file PhotonVoxels.h.
Referenced by GetCenter(), and sim::PhotonVoxelDef::isInsideImpl().