75 , m_qmVertexColors(qmVertexColors)
83 void BrainHemisphere::updateActivation(
const QMap<int, QColor> &qmVertexColor)
87 m_pSurfaceMesh->updateActivation(qmVertexColor);
106 void BrainHemisphere::init()
110 m_pSurfaceMesh->setObjectName(
"m_pSurfaceMesh");
113 this->addComponent(m_pSurfaceMesh);
116 if(m_surface.
surf() ==
"inflated" && m_surface.
hemi() == 1)
117 this->translateTransform()->setDx(this->scaleTransform()->scale()/10);
120 QPerVertexColorMaterial *qperVertexColorMaterial =
new QPerVertexColorMaterial();
121 this->addComponent(qperVertexColorMaterial);
Holds the data of one hemisphere in form of a mesh.
Declaration of brain BrainHemisphere which holds the data of the right or left brain hemisphere in fo...
BrainHemisphere(QNode *parent=0)