Skip to content

Conversation

@yungyuc
Copy link
Member

@yungyuc yungyuc commented May 25, 2022

This is to address #69 . This is a really simple axis marker consisting of 3 line segments of unit length (1). The mark is an entity in the view widget and uses fixed coordinate.

yungyuc added 2 commits May 9, 2022 10:11
The 3D axis marker entity is named RAxisMark.  It uses a companion class named RLine.
@yungyuc yungyuc added the pilot GUI and visualization label May 25, 2022
@yungyuc yungyuc self-assigned this May 25, 2022
@yungyuc yungyuc marked this pull request as ready for review May 25, 2022 23:52
static void show_mark()
{
RScene * scene = RApplication::instance()->main()->viewer()->scene();
for (Qt3DCore::QNode * child : scene->childNodes())
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now, I only need one marker in a view.

namespace modmesh
{

class RLine
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A simple line segment.


}; /* end class RLine */

class RAxisMark
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The axis marker. I prefer to keep it shorter so it's named as "mark" not "marker".

@yungyuc yungyuc merged commit 4417485 into solvcon:master May 25, 2022
@yungyuc yungyuc deleted the feature/axis-mark branch May 26, 2022 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pilot GUI and visualization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant