15#ifndef GPUDISPLAYMAGNETICFIELD_H
16#define GPUDISPLAYMAGNETICFIELD_H
58 template <std::
size_t MAX_DIM1_SEGMENTS, std::
size_t MAX_DIM2_SEGMENTS, std::
size_t MAX_DIM3_SEGMENTS>
78 int32_t
SegID[MAX_DIM3_SEGMENTS];
81 template <std::
size_t MAX_PARAMETERIZATIONS, std::
size_t MAX_ROWS, std::
size_t MAX_COLUMNS, std::
size_t MAX_COEFFICIENTS>
85 float BMin[MAX_PARAMETERIZATIONS];
86 float BMax[MAX_PARAMETERIZATIONS];
88 int32_t
NRows[MAX_PARAMETERIZATIONS];
Definition of the MagF class.
std::unique_ptr< RenderConstantsUniform > mRenderConstantsUniform
std::unique_ptr< SolenoidSegmentsUniform > mSolenoidSegments
static constexpr std::size_t MAX_SOLENOID_R_SEGMENTS
static constexpr std::size_t MAX_DIPOLE_ROWS
static constexpr std::size_t MAX_CHEBYSHEV_ORDER
static constexpr std::size_t MAX_SOLENOID_COEFFICIENTS
std::unique_ptr< DipoleParameterizationUniform > mDipoleParameterization
static constexpr std::size_t MAX_DIPOLE_Y_SEGMENTS
static constexpr std::size_t MAX_DIPOLE_PARAMETERIZATIONS
static constexpr std::size_t MAX_DIPOLE_X_SEGMENTS
static constexpr std::size_t DIMENSIONS
static constexpr std::size_t MAX_DIPOLE_Z_SEGMENTS
std::vector< vtx > mFieldLineSeedPoints
std::size_t mSolParametrizations
std::size_t mDipParametrizations
GPUDisplayMagneticField()
static constexpr std::size_t MAX_DIPOLE_COLUMNS
std::size_t mSolCoefficients
void generateSeedPoints(std::size_t count)
static constexpr std::size_t MAX_SOLENOID_COLUMNS
static constexpr std::size_t MAX_SOLENOID_P_SEGMENTS
std::unique_ptr< SolenoidParameterizationUniform > mSolenoidParameterization
static constexpr std::size_t MAX_SOLENOID_Z_SEGMENTS
static constexpr std::size_t MAX_SOLENOID_PARAMETERIZATIONS
static constexpr std::size_t MAX_DIPOLE_COEFFICIENTS
std::unique_ptr< DipoleSegmentsUniform > mDipoleSegments
int32_t initializeUniforms()
std::size_t mDipCoefficients
static constexpr std::size_t MAX_SOLENOID_ROWS
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
GLdouble GLdouble GLdouble z
vtx(float a, float b, float c)