-
-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dump "camera" info should dump information about all options #596
Comments
Dumping the relevant options as a string of command-line arguments to stdout would allow copy-pasting to get the same state on a subsequent run of the application. Alternatively/additionally, dumping to the clipboard would allow to use this functionality even when the application was not started from a terminal. In that case loading from the clipboard should also be considered so that the dumped state can be restored within already running instances of the application. For reference, MeshLab does something like this with its camera state:
<!DOCTYPE ViewState>
<project>
<VCGCamera CameraType="0" TranslationVector="40.5801 -77.5024 -97.2389 1" LensDistortion="0 0" PixelSizeMm="0.0369161 0.0369161" CenterPx="1081 617" BinaryData="0" ViewportPx="2163 1234" FocalMm="39.451275" RotationMatrix="-0.9226 -0.374897 -0.0908925 0 0.216599 -0.698418 0.682127 0 -0.319208 0.609643 0.725562 0 0 0 0 1 "/>
<ViewSettings TrackScale="0.02384294" FarPlane="5.6360178" NearPlane="0.30310887"/>
</project>
It would be cool to be able to get strings like |
Great ideas ! I wonder if we can manage cross platform clipboard. Afaik VTK does not support it. |
Updated with a suggested solution |
This is becoming possible with #1580. Possible formatting suggested by @snoyer :
|
Context
F3D support printing information about the current state of the application by pressing ?, specfically about the configuration of the camera. While useful, this feature could become great if it dumped more info, especially enough info to just copy/paste to recreate the state of the application.
Suggested Solution
?
The text was updated successfully, but these errors were encountered: