MantisBT - ParaView | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013942 | ParaView | (No Category) | public | 2013-03-14 10:19 | 2014-08-29 11:00 |
Reporter | Alejandro Ribes | ||||
Assigned To | Utkarsh Ayachit | ||||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | 4.2 | Fixed in Version | 4.2 | ||
Project | ParaViS | ||||
Topic Name | |||||
Type | feature | ||||
Summary | 0013942: "FitAll" function in python scripting | ||||
Description | Hello, I have a request concerning the function that set the viewing position so that all visible datasets in the selected 3D view are within the viewing frustum. This function is the first icon in the Camera Control Toolbar. I would like to use this function when scripting in python. Can you expose this function via a "FitAll" method or something similar? I know there exists a ResetCamera function but it seems that does not correspond to what I want. Exemple: _RenderView = GetRenderView() _RenderView.CenterAxesVisibility = 0 _RenderView.CenterOfRotation = [2.05, 2.05, 2.13] _RenderView.CameraViewUp = [-0.1462842057166934, -0.63184311527201897, -0.76116700456679443] _RenderView.CameraPosition = [4.3574016706599696, 7.6016996854983274, -3.0256734058706636] _RenderView.CameraClippingRange = [2.9513133656308672, 13.226048282992661] _RenderView.CameraFocalPoint = [2.9930930754568661, 1.7779227807543228, 2.0708298819357598] The last 4 commands of this code are necessary to do the "FitAll" BUT they are dependent on the mesh and then not adapted to a pure scripting environment. Thanks in advance, Alejandro. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-03-14 10:19 | Alejandro Ribes | New Issue | |||
2013-04-03 07:10 | Utkarsh Ayachit | Note Added: 0030505 | |||
2014-05-07 03:50 | Vadim SANDLER | Note Added: 0032623 | |||
2014-05-07 09:24 | Utkarsh Ayachit | Note Added: 0032624 | |||
2014-06-03 04:26 | Vadim SANDLER | Note Added: 0032713 | |||
2014-06-05 11:30 | Joachim Pouderoux | Resolution | open => fixed | ||
2014-06-05 11:30 | Joachim Pouderoux | Description Updated | bug_revision_view_page.php?rev_id=767#r767 | ||
2014-06-08 12:11 | Utkarsh Ayachit | Status | backlog => closed | ||
2014-06-08 12:11 | Utkarsh Ayachit | Assigned To | => Utkarsh Ayachit | ||
2014-06-08 12:11 | Utkarsh Ayachit | Fixed in Version | => git-master | ||
2014-06-17 09:21 | Utkarsh Ayachit | Target Version | => 4.2 | ||
2014-08-29 11:00 | Utkarsh Ayachit | Fixed in Version | git-master => 4.2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|