67 static std::shared_ptr<BrainSurface>
createSphere(
const QVector3D ¢er,
70 int subdivisions = 1);
82 static std::shared_ptr<BrainSurface>
createPlate(
const QVector3D ¢er,
83 const QMatrix4x4 &orientation,
98 static std::shared_ptr<BrainSurface>
createBarbell(
const QVector3D ¢er,
99 const QMatrix4x4 &orientation,
119 int subdivisions = 1);
132 static std::shared_ptr<BrainSurface>
createCylinder(
const QVector3D &from,
156 static void buildIcosphere(QVector<Eigen::Vector3f> &vertices,
157 QVector<Eigen::Vector3i> &faces,
Library export/import macros and namespace marker for the disp3D library.
#define DISP3DSHARED_EXPORT
static std::shared_ptr< BrainSurface > createPlate(const QVector3D ¢er, const QMatrix4x4 &orientation, const QColor &color, float size)
static std::shared_ptr< BrainSurface > createBatchedSpheres(const QVector< QVector3D > &positions, float radius, const QColor &color, int subdivisions=1)
static std::shared_ptr< BrainSurface > createBarbell(const QVector3D ¢er, const QMatrix4x4 &orientation, const QColor &color, float size)
static int sphereVertexCount(int subdivisions=1)
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 > createSphere(const QVector3D ¢er, float radius, const QColor &color, int subdivisions=1)
Renderable cortical surface mesh with per-vertex color, curvature data, and GPU buffer management.