70 static std::shared_ptr<BrainSurface>
createSphere(
const QVector3D& center,
73 int subdivisions = 1);
85 static std::shared_ptr<BrainSurface>
createPlate(
const QVector3D& center,
86 const QMatrix4x4& orientation,
101 static std::shared_ptr<BrainSurface>
createBarbell(
const QVector3D& center,
102 const QMatrix4x4& orientation,
122 int subdivisions = 1);
135 static std::shared_ptr<BrainSurface>
createCylinder(
const QVector3D& from,
159 static void buildIcosphere(QVector<Eigen::Vector3f>& vertices,
160 QVector<Eigen::Vector3i>& faces,
Library export/import macros and namespace marker for the disp3D library.
#define DISP3DSHARED_EXPORT
3-D brain visualisation using the Qt RHI rendering backend.
static std::shared_ptr< BrainSurface > createBarbell(const QVector3D ¢er, const QMatrix4x4 &orientation, const QColor &color, float size)
static std::shared_ptr< BrainSurface > createCylinder(const QVector3D &from, const QVector3D &to, float radius, const QColor &color, int sides=12)
static std::shared_ptr< BrainSurface > createBatchedSpheres(const QVector< QVector3D > &positions, float radius, const QColor &color, int subdivisions=1)
static std::shared_ptr< BrainSurface > createSphere(const QVector3D ¢er, float radius, const QColor &color, int subdivisions=1)
static int sphereVertexCount(int subdivisions=1)
static std::shared_ptr< BrainSurface > createPlate(const QVector3D ¢er, const QMatrix4x4 &orientation, const QColor &color, float size)
Renderable cortical surface mesh with per-vertex color, curvature data, and GPU buffer management.