View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000794 | VTK | (No Category) | public | 2004-04-24 00:44 | 2005-02-01 11:34 | ||||
Reporter | Clinton Stimpson | ||||||||
Assigned To | Ken Martin | ||||||||
Priority | low | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000794: vtkRenderer::ResetCamera doesn't account for Z coordinates very well | ||||||||
Description | I have attached a .vtu file of a hexahedron. If I read it into paraview, you'd think it looks ok at first, but then try rotating. The entire thing is not visible on the screen. If I hit the button to zoom to extents, it doesn't do that. Basically, vtkRenderer::ResetCamera isn't giving the z coordinate enough consideration. I'll attach an implementation of ResetCamera which works for me. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | bigz-box.vtu [^] (1,349 bytes) 1969-12-31 19:00 GRenderer.cpp [^] (1,718 bytes) 1969-12-31 19:00 resetCamera.patch [^] (1,840 bytes) 1969-12-31 19:00 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0001010) Mathieu Malaterre (developer) 2004-05-02 14:47 |
Adding a patch |
(0001011) Mathieu Malaterre (developer) 2004-05-02 14:48 |
I suspect this patch will never be merged in VTK since it will require to change a lot of our Baseline images. |
(0001630) Ken Martin (developer) 2004-10-21 13:30 |
Actually if this is the issue I think it is, I do want to fix it and we can regenerate the images. I'll try to look into this after PV 1.8 is branched |
(0002012) Ken Martin (developer) 2005-02-01 11:34 |
I have modified the camera reset code starting from clinton's patch. I made some changes to handle the geometry better. Bascially this should work pretty well for most cases. It still has the odd behaviour that it is fitting the height only. e.g. for windows with more extreme aspect ratios the geometry is only guaranteed to fit on one axis. The change was only to vtkRenderer.cxx and a zillion valid images. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |