Commit 53d16a5e authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[ADD] Added qform and sform into the info properties

parent 14a8000c
......@@ -464,6 +464,12 @@ void WGridRegular3D::initInformationProperties()
WPropDouble xOffset = m_infoProperties->addProperty( "X offset: ", "The distance between samples in x direction", getOffsetX() );
WPropDouble yOffset = m_infoProperties->addProperty( "Y offset: ", "The distance between samples in y direction", getOffsetY() );
WPropDouble zOffset = m_infoProperties->addProperty( "Z offset: ", "The distance between samples in z direction", getOffsetZ() );
std::stringstream ss1;
ss1 << m_matrixQForm;
WPropString qForm = m_infoProperties->addProperty( "qForm-Matrix: ", "The qForm matrix in row major", ss1.str() );
std::stringstream ss2;
ss2 << m_matrixQForm;
WPropString sForm = m_infoProperties->addProperty( "sForm-Matrix: ", "The sForm matrix in row major", ss2.str() );
}
int WGridRegular3D::getXVoxelCoord( const wmath::WPosition& pos ) const
......
......@@ -697,5 +697,4 @@ inline wmath::WPosition WGridRegular3D::getOrigin() const
{
return m_origin;
}
#endif // WGRIDREGULAR3D_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment