DiscussionsIssue archiveOCCT:Visualization

Archived issue #0032400

Visualization, TKIVtk - convert VTK camera to OCC

Open CASCADEOCCT:Visualizationclosed8 public notes

Search issues

Description

Add conversation of VTK camera to Graphic3d_Camera and use it during selection

Steps to reproduce

Not required

Public activity

8 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri May 28 17:39:11 2021 +0300

    0032400: Visualization, TKIVtk - convert VTK camera to OCC
    
    Add new interfaces GetEyePosition(), GetClippingRange(), GetAspectRatio() to IVTK_IView
    Add ivtkviewparams command to print current parameters of view
    Add ivtkcamera comand to Prints current camera parameters or manages camera parameters (set ortho or persp projection)
02Commenter 2
pload VISUALIZATION MODELING VIS
box bb 1 1 1
vinit View1 w=600 h=400
vdisplay bb -dispmode 1
vcamera -persp
vfit
ivtkinit
ivtkdisplay bb
ivtksetdispmode bb 1
ivtkcamera -persp
ivtkaxo
ivtkfit

vcamera
vviewparams
ivtkcamera
ivtkviewparams
03Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri May 28 17:39:11 2021 +0300

    0032400: Visualization, TKIVtk - convert VTK camera to OCC
    
    Add new interfaces GetEyePosition(), GetClippingRange(), GetAspectRatio() to IVTK_IView
    Add ivtkviewparams command to print current parameters of view
    Add ivtkcamera comand to print current camera parameters or manages camera parameters (set ortho or persp projection)
04Commenter 5
05Commenter 6
The patch CR32400_1 is ready to review
06Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17401.600000000442 / 17450.34000000035 [-0.28%]
Products
Total CPU difference: 11508.180000000091 / 11477.640000000127 [+0.27%]
Windows-64-VC14:
OCCT
Total CPU difference: 19191.265625 / 19269.40625 [-0.41%]
Products
Total CPU difference: 12883.6875 / 12905.015625 [-0.17%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
07Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]
08Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records