MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029985Community[OCCT] OCCT:Visualizationpublic2018-07-25 08:062018-07-25 11:48
ReporterFreeman 
Assigned Tokgv 
PrioritynormalSeverityminor 
StatusnewResolutionduplicate 
PlatformWindowsOSVC++ 2015OS Version64 bit
Product Version[OCCT] 7.3.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0029985: Visualization - Wrong result of V3d_View::FitAll() for a straight line segment
DescriptionWhen I try to display a line laying on the plane (0, 0, 1, -4000), the FitALL function goes wrong (I can't see anything on the View window because of clipping). I think this is related to the calculation of zNear/zFar.
Steps To Reproduce
pload MODELING VISUALIZATION
vclear
vinit View1
vtop
vpoint p1   0 0 4000
vpoint p2 200 0 4000
vsegment s p1 p2
vfit


1) Set orientation of projection:
  myView->setProj(V3d_Zpos);
2) Make an edge:
  TopoDS_Edge edge = BRepBuilderAPI_MakeEdge(gp_Pnt(0.0, 0.0, 4000.0), gp_Pnt(200.0, 0.0, 4000.0));
3) Display the shape:
 Handle(AIS_Shape) edgeShape = new AIS_Shape(edge);
 myContext->Display(edgeShape, true);
4) Call fitALL:
 myView->FitALL();
TagsNo tags attached.
Test case number
Attached Files

- Relationships
duplicate of 0029837newkgv Open CASCADE Visualization, TKOpenGl - Fit All operation works not correct 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-07-25 08:06 Freeman New Issue
2018-07-25 08:06 Freeman Assigned To => kgv
2018-07-25 11:45 kgv Summary Wrong result of V3d_View::FitAll => Visualization - Wrong result of V3d_View::FitAll() for a straight line segment
2018-07-25 11:45 kgv Steps to Reproduce Updated View Revisions
2018-07-25 11:47 kgv Relationship added duplicate of 0029837
2018-07-25 11:48 kgv Resolution open => duplicate
2018-07-25 11:48 kgv Target Version => 7.4.0*


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker