MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030507Open CASCADE[OCCT] OCCT:Visualizationpublic2019-02-21 09:372019-10-10 17:12
Reporterkgv 
Assigned Tobugmaster 
PrioritynormalSeverityfeature 
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.4.0Fixed in Version[OCCT] 7.4.0 
Summary0030507: Visualization - introduce AIS_ViewController
DescriptionCurrently V3d_View class provides methods for managing its Camera object (Graphic3d_Camera) for viewer manipulations (panning, zooming, rotating).
This implies also storing some transient state within the View itself (e.g. 3D point to rotate around).

It is desired to moving this functionality into dedicated object like V3d_CameraController, and:
- Extend precision (allow floating coordinates instead of integer shifts).
- Provide more scenarios (First Person view, Orbit rotation).
Steps To ReproduceN/A
TagsNo tags attached.
Test case numberNot required
Attached Files

- Relationships
parent of 0030853closedbugmaster Open CASCADE Visualization, AIS_ViewController - fix 1 pixel Y shift while zooming 
parent of 0030900closedbugmaster Open CASCADE Configuration - fix compilation using macOS SDK before 10.12 
parent of 0030939newkgv Open CASCADE Draw Harness, ViewerTest - AIS_ViewCube animation does not work on Linux and macOS 
parent of 0031056verifiedapn Open CASCADE Samples - update glfw sample to use AIS_ViewController 
has duplicate 0030352closedbugmaster Community DRAW - Extending interface of ViewerTest_EventManager to process mouse button event 
related to 0030866closedbugmaster Open CASCADE Visualization - remove map of AIS_Manipulator from ViewerText 
related to 0002618closedbugmaster Community Visualization - choose better center of gravity for camera rotation operations 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0084978)
git (administrator)
2019-06-10 21:04

Branch CR30507 has been created by kgv.

SHA-1: f084080c3ff7e7441d67e6fef21a64e7a3fb5c25


Detailed log of new commits:

Author: kgv
Date: Mon Jun 10 21:03:41 2019 +0300

    0030507: Visualization - introduce AIS_ViewController
(0084984)
git (administrator)
2019-06-11 11:09

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 683e723317a4ba27497b96bb5e60b7862aaad724
(0084985)
git (administrator)
2019-06-11 11:17

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 6c731f60f9a40f15859cf15922a10d7d14166789
(0084986)
git (administrator)
2019-06-11 12:32

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 6bb3539394ed1ee53b56ce442b73940253e3744f
(0084987)
git (administrator)
2019-06-11 12:53

Branch CR30507 has been updated forcibly by kgv.

SHA-1: af40636006100468a6e4ebbf5613e8ffa4ec1137
(0084988)
git (administrator)
2019-06-11 12:58

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 8fd799e1c9022963b3c4c8c428c4acd44afee6f7
(0084989)
git (administrator)
2019-06-11 15:10

Branch CR30507 has been updated forcibly by kgv.

SHA-1: d15a27d64c35907f1cf4418289e137fa4d668c2b
(0084990)
git (administrator)
2019-06-11 15:48

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 8688f295d97d503575197a073706ba20a6723a9a
(0084991)
git (administrator)
2019-06-11 16:32

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 472f74dcff6e42242e8a845e8837e62ce450f51a
(0084992)
git (administrator)
2019-06-11 17:14

Branch CR30507 has been updated forcibly by kgv.

SHA-1: cad40c2bcd9008c1eba11ceb9bb0700df24222c3
(0084994)
git (administrator)
2019-06-11 17:29

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 50ef9ff5a8e30e943b6d9638c7ac306b5f060fe1
(0084995)
git (administrator)
2019-06-11 17:32

Branch CR30507 has been updated forcibly by kgv.

SHA-1: a9b832d8e63478b854d8c9d23d5e08706c0bcf8d
(0084996)
git (administrator)
2019-06-11 17:38

Branch CR30507 has been updated forcibly by kgv.

SHA-1: e093a846060e7421f80b727af7a54c13eb6f6c30
(0084997)
git (administrator)
2019-06-11 17:43

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 22cbaa569c434a7c7aebd620c0103b8467c95f37
(0085000)
git (administrator)
2019-06-12 10:42

Branch CR30507 has been updated forcibly by kgv.

SHA-1: c60064c68f71d0486e3fd054208613b05ce0d767
(0085001)
git (administrator)
2019-06-12 11:01

Branch CR30507 has been updated forcibly by kgv.

SHA-1: d9db5c17216fceed3b053f2e0206e137b5aebfe9
(0085002)
git (administrator)
2019-06-12 11:22

Branch CR30507 has been updated forcibly by kgv.

SHA-1: c4826b76f8b7e43bf81f9b5a19931b0aa37c0c3e
(0085003)
git (administrator)
2019-06-12 11:54

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 0ad331631ee5f3f2b10054e2e1bfc5d36f2ea232
(0085004)
git (administrator)
2019-06-12 12:53

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 97f240bedbaee6bf31b5c5040f66ac2d43d64b41
(0085005)
git (administrator)
2019-06-12 13:59

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 418ff1938f1605712e72c4be3325d9151495b4e4
(0085006)
git (administrator)
2019-06-12 14:04

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 0b5d1a13be2513348bd0fbc411c23307fff5a537
(0085007)
git (administrator)
2019-06-12 14:05

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 7e49fc261a560d65ddb51ec3ca53e49b769973ee
(0085008)
git (administrator)
2019-06-12 14:34

Branch CR30507 has been updated forcibly by kgv.

SHA-1: c74eb0e92e48aef8a1949bf8c6c59715e1a7e2f1
(0085009)
git (administrator)
2019-06-12 14:51

Branch CR30507 has been updated forcibly by kgv.

SHA-1: b1b447ff9bebb19bff83274f6d37daa4d041c2bd
(0085010)
git (administrator)
2019-06-12 15:40

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 1d9681fc4cf06318e434d383057787376bbaf4c5
(0085011)
git (administrator)
2019-06-12 16:09

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 57d8cc411987df9c389b6409b5070c8d62b26b42
(0085012)
git (administrator)
2019-06-12 16:28

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 2e747aaf64bd05befefee68a1f0543831edd8f75
(0085013)
git (administrator)
2019-06-12 16:41

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 4bc9539b9544df53c1b016bf03fe02c4d1897298
(0085014)
git (administrator)
2019-06-12 16:58

Branch CR30507 has been updated forcibly by kgv.

SHA-1: acb46f877486a717b3ff2f1fd8ea401f7a2328e7
(0085015)
git (administrator)
2019-06-12 17:31

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 926f5f1a737b322ac7a8c18ec127ce5eca519838
(0085016)
git (administrator)
2019-06-12 17:36

Branch CR30507 has been updated forcibly by kgv.

SHA-1: bdec324452ffd9999d1ba15cd0c2e6a4ea52b574
(0085017)
git (administrator)
2019-06-12 17:45

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 623afc3489f00f12da3b3048da0b8b7130250219
(0085018)
git (administrator)
2019-06-12 17:56

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 06203bcba461b4c495caabb8464a5e5b0660fa53
(0085019)
git (administrator)
2019-06-12 18:46

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 9df354528a9ac28d95d6aa63494c613de4a0de89
(0085020)
kgv (developer)
2019-06-12 18:52

Patch is ready for review.

http://jenkins-test-12.nnov.opencascade.com/view/CR30507-master-KGV/ [^]
(0085021)
git (administrator)
2019-06-12 20:23

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 67caa4928fa3dcb0a0d007d6e5d8b681794152c8
(0085022)
git (administrator)
2019-06-12 21:53

Branch CR30507 has been updated forcibly by kgv.

SHA-1: 1ba5817277cc323c1c0021fae8f2b4a0456ed7cb
(0085023)
git (administrator)
2019-06-12 21:58

Branch CR30507 has been updated forcibly by kgv.

SHA-1: a886cee6e4707b16c366b09dad893f72d17a4aef
(0085031)
osa (developer)
2019-06-13 14:59

Reviewed without remarks
(0085037)
bugmaster (administrator)
2019-06-13 18:45

Combination -
OCCT branch : CR30507
master SHA - 67caa4928fa3dcb0a0d007d6e5d8b681794152c8
d67d4b811012eef8913d3c535c29654d0acf3c4c
Products branch : master SHA - 77ee1bd5095e6eb90974be94ecc6b503a187125a
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: 16189.180000000097 / 16201.260000000013 [-0.07%]
Products
Total CPU difference: 10476.820000000065 / 10471.040000000068 [+0.06%]
Windows-64-VC14:
OCCT
Total CPU difference: 17605.265625 / 17607.84375 [-0.01%]
Products
Total CPU difference: 12083.171875 / 12092.375 [-0.08%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0085064)
git (administrator)
2019-06-16 11:39

Branch CR30507 has been deleted by inv.

SHA-1: a886cee6e4707b16c366b09dad893f72d17a4aef

- Related Changesets
occt: master 49582f9d
Timestamp: 2019-06-10 18:03:41
Author: kgv
Committer: bugmaster
Details ] Diff ]
0030507: Visualization - introduce AIS_ViewController

ViewerTest_EventManager now inherits AIS_ViewController.
Platform-dependent user input handling within ViewerTest has been revised
to process events in common way through AIS_ViewController.
The mouse navigation has been changed, so that left mouse clicked
without modifers now rotates View.
The rubber-band selection can be activated via Alt+LeftMouseButton.
Selection is now done on mouse unclick and keyboard short-cuts take effect on unclick.

Aspect_Window::SetTitle() - added new method configuring Window title.
Introduced new types Aspect_Touch, Aspect_VKey, Aspect_ScrollDelta
for processing window events in platform-independent way.
mod - src/AIS/AIS_InteractiveContext.cxx Diff ] File ]
mod - src/AIS/AIS_InteractiveContext.hxx Diff ] File ]
mod - src/AIS/AIS_InteractiveContext_1.cxx Diff ] File ]
add - src/AIS/AIS_MouseGesture.hxx Diff ] File ]
add - src/AIS/AIS_RotationMode.hxx Diff ] File ]
add - src/AIS/AIS_ViewController.cxx Diff ] File ]
add - src/AIS/AIS_ViewController.hxx Diff ] File ]
add - src/AIS/AIS_ViewInputBuffer.hxx Diff ] File ]
add - src/AIS/AIS_WalkDelta.hxx Diff ] File ]
mod - src/AIS/FILES Diff ] File ]
add - src/Aspect/Aspect_ScrollDelta.hxx Diff ] File ]
add - src/Aspect/Aspect_Touch.hxx Diff ] File ]
add - src/Aspect/Aspect_VKey.hxx Diff ] File ]
add - src/Aspect/Aspect_VKeyFlags.hxx Diff ] File ]
add - src/Aspect/Aspect_VKeySet.cxx Diff ] File ]
add - src/Aspect/Aspect_VKeySet.hxx Diff ] File ]
mod - src/Aspect/Aspect_Window.hxx Diff ] File ]
mod - src/Aspect/FILES Diff ] File ]
mod - src/Cocoa/Cocoa_Window.hxx Diff ] File ]
mod - src/Cocoa/Cocoa_Window.mm Diff ] File ]
mod - src/QABugs/QABugs_1.cxx Diff ] File ]
mod - src/V3d/V3d_View.cxx Diff ] File ]
mod - src/V3d/V3d_View.hxx Diff ] File ]
mod - src/ViewerTest/FILES Diff ] File ]
mod - src/ViewerTest/ViewerTest.cxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_EventManager.cxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_EventManager.hxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff ] File ]
add - src/ViewerTest/ViewerTest_V3dView.cxx Diff ] File ]
add - src/ViewerTest/ViewerTest_V3dView.hxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_ViewerCommands_1.mm Diff ] File ]
mod - src/WNT/WNT_Window.cxx Diff ] File ]
mod - src/WNT/WNT_Window.hxx Diff ] File ]
mod - src/Xw/Xw_Window.cxx Diff ] File ]
mod - src/Xw/Xw_Window.hxx Diff ] File ]
mod - tests/bugs/vis/bug26147 Diff ] File ]

- Issue History
Date Modified Username Field Change
2019-02-21 09:37 kgv New Issue
2019-02-21 09:37 kgv Assigned To => kgv
2019-02-21 09:38 kgv Relationship added related to 0030465
2019-02-21 09:38 kgv Relationship added related to 0030457
2019-02-21 09:39 kgv Relationship added related to 0030096
2019-02-21 09:43 kgv Relationship added related to 0030508
2019-05-28 18:47 kgv Relationship added related to 0030525
2019-06-07 09:32 kgv Summary Visualization - introduce V3d_CameraController => Visualization - introduce AIS_ViewController
2019-06-10 21:04 git Note Added: 0084978
2019-06-11 11:09 git Note Added: 0084984
2019-06-11 11:17 git Note Added: 0084985
2019-06-11 12:32 git Note Added: 0084986
2019-06-11 12:53 git Note Added: 0084987
2019-06-11 12:58 git Note Added: 0084988
2019-06-11 15:10 git Note Added: 0084989
2019-06-11 15:48 git Note Added: 0084990
2019-06-11 16:32 git Note Added: 0084991
2019-06-11 17:14 git Note Added: 0084992
2019-06-11 17:29 git Note Added: 0084994
2019-06-11 17:32 git Note Added: 0084995
2019-06-11 17:38 git Note Added: 0084996
2019-06-11 17:43 git Note Added: 0084997
2019-06-12 10:42 git Note Added: 0085000
2019-06-12 11:01 git Note Added: 0085001
2019-06-12 11:22 git Note Added: 0085002
2019-06-12 11:54 git Note Added: 0085003
2019-06-12 12:53 git Note Added: 0085004
2019-06-12 13:59 git Note Added: 0085005
2019-06-12 14:04 git Note Added: 0085006
2019-06-12 14:05 git Note Added: 0085007
2019-06-12 14:34 git Note Added: 0085008
2019-06-12 14:51 git Note Added: 0085009
2019-06-12 15:40 git Note Added: 0085010
2019-06-12 16:09 git Note Added: 0085011
2019-06-12 16:28 git Note Added: 0085012
2019-06-12 16:41 git Note Added: 0085013
2019-06-12 16:58 git Note Added: 0085014
2019-06-12 17:31 git Note Added: 0085015
2019-06-12 17:36 git Note Added: 0085016
2019-06-12 17:45 git Note Added: 0085017
2019-06-12 17:56 git Note Added: 0085018
2019-06-12 18:46 git Note Added: 0085019
2019-06-12 18:52 kgv Note Added: 0085020
2019-06-12 18:52 kgv Assigned To kgv => osa
2019-06-12 18:52 kgv Status new => resolved
2019-06-12 20:23 git Note Added: 0085021
2019-06-12 21:53 git Note Added: 0085022
2019-06-12 21:58 git Note Added: 0085023
2019-06-13 14:03 kgv Relationship added related to 0022172
2019-06-13 14:59 osa Note Added: 0085031
2019-06-13 14:59 osa Assigned To osa => bugmaster
2019-06-13 14:59 osa Status resolved => reviewed
2019-06-13 18:43 bugmaster Test case number => Not required
2019-06-13 18:45 bugmaster Note Added: 0085037
2019-06-13 18:45 bugmaster Status reviewed => tested
2019-06-15 16:04 bugmaster Changeset attached => occt master 49582f9d
2019-06-15 16:04 bugmaster Status tested => verified
2019-06-15 16:04 bugmaster Resolution open => fixed
2019-06-16 11:39 git Note Added: 0085064
2019-07-26 06:03 kgv Relationship added parent of 0030853
2019-08-06 13:23 nds Relationship added related to 0030866
2019-08-09 17:37 nds Relationship added has duplicate 0030352
2019-08-15 09:37 kgv Relationship added parent of 0030900
2019-08-27 16:34 kgv Relationship added related to 0002618
2019-09-02 16:41 kgv Relationship added related to 0030935
2019-09-02 16:44 kgv Relationship added related to 0028364
2019-09-04 09:40 kgv Relationship added parent of 0030939
2019-10-10 17:12 kgv Relationship added parent of 0031056


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker