View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023067 | Open CASCADE | OCCT:Visualization | public | 2012-04-04 17:00 | 2013-03-11 09:58 |
Reporter | Assigned To | ||||
Priority | high | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | VC++ 32-bit/64-bit | OS | Windows | ||
Product Version | 6.5.3 | ||||
Target Version | 6.5.3 | Fixed in Version | 6.5.3 | ||
Summary | 0023067: OpenGl package API needed by UserDraw feature is not exported | ||||
Description | In the frames of 0022819 it was decided not to export any OpenGl classes except the graphic driver class methods. However, an application that uses UserDraw functionality needs to access at least the following OpenGl classes so they should be exported from TKOpenGl library under Windows: - OpenGl_Element - the application that uses UserDraw should derive custom element class(es) from OpenGl_Element abstract base - OpenGl_Workspace - custom element's Render() method needs the current state parameters - OpenGl_Aspect* - visual parameters of various primitive types - OpenGl_Context - to access OpenGL extensions (already exported) Complete list of OpenGl package classes to be exported should be defined after analysis of standard OpenGl_Element implementations. | ||||
Steps To Reproduce | pload ALL vinit vuserdraw vfit | ||||
Additional information and documentation updates | The following OpenGl package API is now available to applications that implement custom scene elements with help of UserDraw feature: OpenGl_Window class: - inline method providing access to OpenGl_Context instance OpenGl_Workspace class: - exported AspectXXXX() methods returning current visual parameters in force for different kinds of primitives - inline methods for text rendering OpenGl_Context class (see #23022) OpenGl_ResourceCleaner, OpenGl_ResourceVBO, OpenGl_ResourceTexture classes: should be used to clean-up OpenGL resources safely OpenGl_AspectFace, OpenGl_AspectLine, OpenGl_AspectMarker, OpenGl_AspectText classes: read access to all attributes with help of inline methods Other state parameters should be obtained with help of OpenGL API calls. vuserdraw DRAW command has been added in order to perform basic checking of UserDraw feature availability and operation. | ||||
Tags | No tags attached. | ||||
Test case number | chl 934 Z3 | ||||
|
CR23067 branch is ready for reviewing. |
|
vuserdraw command added for testing Please review the branch. |
|
Separate source file ViewerTest_OpenGlCommands.cxx added for commands testing low-level TKOpenGl features. CR23067 ready for reviewing. |
|
Patch is OK, please test. |
|
Dear san, Workbench KAS:dev:mkv-23067-occt was created from git branch CR23067 (and mkv-23067-products from svn trunk) and compiled on Linux platform. There are following errors during linking: Check of undefined symbols with LD_LIBRARY_PATH : mkv-23067-occt/lin/lib/libTKOpenGl.so: undefined reference to `OpenGl_Resource_Type_()' mkv-23067-occt/lin/lib/libTKOpenGl.so: undefined reference to `typeinfo for OpenGl_Resource' |
|
Corrected, please test |
|
Dear BugMaster, Workbench KAS:dev:mkv-23067-occt was created from git branch CR23067 (and mkv-23067-products from svn trunk) and compiled on Linux platform. There are not regressions in mkv-23067-products regarding to KAS:dev:products-20120330-opt Test case for this fix is chl 934 Z3. It's OK. See results in /QADisk/occttests/results/KAS/dev/mkv-23067-products_09042012/lin See reference results in /QADisk/occttests/results/KAS/dev/products-20120330-opt_30032012/lin See test cases in /QADisk/occttests/tests/ED |
|
Z3 (621 bytes) |
occt: master 3946774d 2012-04-12 10:04:59
|
0023067: OpenGl package API needed by UserDraw feature is not exported Windows: Exporting non-inline methods that provide info about the current state of OCCT renderer. Minor tweak: fixing incomplete handle/dynamic type for OpenGl_Resource vuserdraw command added to test UserDraw basic operation Separate source file ViewerTest_OpenGlCommands.cxx added for commands testing low-level TKOpenGl functionality |
Affected Issues 0023067 |
|
mod - src/OpenGl/FILES | Diff File | ||
add - src/OpenGl/OpenGl_Resource.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Resource.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_ResourceCleaner.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_ResourceCleaner.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_ResourceTexture.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_ResourceTexture.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_ResourceVBO.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_ResourceVBO.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_Workspace.hxx | Diff File | ||
mod - src/ViewerTest/FILES | Diff File | ||
mod - src/ViewerTest/ViewerTest.cdl | Diff File | ||
mod - src/ViewerTest/ViewerTest.cxx | Diff File | ||
add - src/ViewerTest/ViewerTest_OpenGlCommands.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-04-04 17:00 |
|
New Issue | |
2012-04-04 17:00 |
|
Assigned To | => san |
2012-04-04 17:01 |
|
Relationship added | related to 0022819 |
2012-04-04 17:02 |
|
Description Updated | |
2012-04-04 21:55 |
|
Note Added: 0020264 | |
2012-04-04 21:55 |
|
Assigned To | san => kgv |
2012-04-04 21:55 |
|
Status | new => resolved |
2012-04-04 22:10 |
|
Additional Information Updated | |
2012-04-05 19:53 |
|
Steps to Reproduce Updated | |
2012-04-05 19:53 |
|
Note Added: 0020279 | |
2012-04-09 17:18 |
|
Note Added: 0020312 | |
2012-04-09 17:53 | kgv | Note Added: 0020313 | |
2012-04-09 17:53 | kgv | Assigned To | kgv => bugmaster |
2012-04-09 17:53 | kgv | Status | resolved => reviewed |
2012-04-09 18:10 |
|
Assigned To | bugmaster => mkv |
2012-04-09 19:36 |
|
Note Added: 0020315 | |
2012-04-09 19:37 |
|
Assigned To | mkv => san |
2012-04-09 19:37 |
|
Status | reviewed => assigned |
2012-04-09 19:47 |
|
Status | assigned => resolved |
2012-04-09 19:48 |
|
Note Added: 0020316 | |
2012-04-09 19:48 |
|
Status | resolved => reviewed |
2012-04-09 20:05 |
|
Assigned To | san => mkv |
2012-04-10 10:12 | apn | Note Added: 0020320 | |
2012-04-10 10:24 | apn | Test case number | => chl 934 Z3 |
2012-04-10 12:10 | apn | Note Edited: 0020320 | |
2012-04-10 12:11 | apn | Assigned To | mkv => bugmaster |
2012-04-10 12:11 | apn | Status | reviewed => tested |
2012-04-10 12:11 | apn | File Added: Z3 | |
2012-04-11 19:15 |
|
Additional Information Updated | |
2012-04-13 11:32 |
|
Changeset attached | => occt master 3946774d |
2012-04-13 11:32 |
|
Assigned To | bugmaster => san |
2012-04-13 11:32 |
|
Status | tested => verified |
2012-04-13 11:32 |
|
Resolution | open => fixed |
2013-03-11 09:58 | kgv | Relationship added | related to 0023814 |