71 return m_focusPosition;
75 m_focusPosition = pos;
95 return !m_frame.isNull();
118 return m_frameGeneration;
152 return m_depthEnabled;
156 m_depthEnabled = enabled;
168 m_depthFrame = image;
169 ++m_depthFrameGeneration;
178 return !m_depthFrame.isNull();
182 return m_depthFrameGeneration;
192 m_depthScale = scale;
202 m_depthSteps = steps;
206 bool m_enabled =
false;
207 QVector3D m_focusPosition = QVector3D(0.0f, 0.05f, 0.08f);
209 float m_size = 0.06f;
210 float m_opacity = 1.0f;
212 quint64 m_frameGeneration = 0;
215 bool m_depthEnabled =
false;
217 quint64 m_depthFrameGeneration = 0;
218 float m_depthScale = 0.25f;
219 int m_depthSteps = 32;
Library export/import macros and namespace marker for the disp3D library.
#define DISP3DSHARED_EXPORT
3-D brain visualisation using the Qt RHI rendering backend.
bool hasDepthFrame() const
void setDepthSteps(int steps)
void setEnabled(bool enabled)
QVector3D focusPosition() const
void setFrame(const QImage &image)
void setDepthFrame(const QImage &image)
void setSizeMeters(float size)
QVector3D upHint() const
Hint direction used as the quad's "up" axis. When set (non-zero), the quad's long edge is perpendicul...
const QImage & frame() const
void setDepthScale(float scale)
void setUpHint(const QVector3D &dir)
void setFocusPosition(const QVector3D &pos)
void setOpacity(float opacity)
quint64 frameGeneration() const
void setDepthEnabled(bool enabled)
quint64 depthFrameGeneration() const
const QImage & depthFrame() const
bool isDepthEnabled() const