View Issue Details

IDProjectCategoryView StatusLast Update
0006080Open CASCADEOCCT:Visualizationpublic2012-01-17 12:28
ReportersanAssigned Tosan 
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
OSAll 
Fixed in Version5.2.0 
Summary0006080: Integration of Mesh Visualisation Service (MeshVS) component
DescriptionIntegration of Mesh Visualisation Service (MeshVS) component, along with
creation of reference documentation and test DRAW commands.
Additional information
and documentation updates
Documentation remark, added by SAN 2004-09-29 08:29:31:

New features:
MeshVS (Mesh Visualization Service) component extends 3D visualization
capabilities of OpenCASCADE Technology. It provides flexible means of displaying
meshes along with associated pre- and post-processor data.

From developer's point of view, it is easy to integrate MeshVS component into
any mesh-related application with help of the following guidelines:

1. Derive a data source class from MeshVS_DataSource class. Reimplement its
virtual methods, so as to give MeshVS component access to the application data
model. This is the most important part of the job, since visualization
performance is affected by performance of data retrieval methods of your data
source class.

2. Create an instance of MeshVS_Mesh class.

3. Create an instance of your data source class and pass it to MeshVS_Mesh
object through SetDataSource() method.

4. Create one or several objects of MeshVS_PrsBuilder-derived classes (either
standard, included in MeshVS package, or your custom ones). Each PrsBuilder is
responsible for drawing MeshVS_Mesh presentation in certain display mode(s)
specified as a PrsBuilder constructor's argument. Display mode is treated by
MeshVS classes as a combination of bit flags (two least significant bits are
used to encode standard display modes: wireframe, shading and shrink). Pass
these objects to MeshVS_Mesh::AddBuilder() method.
MeshVS_Mesh takes advantage of improved selection highlighting mechansim: it
highlights its selected entities itself, with help of so called "highlighter"
object. You can set one of PrsBuilder objects to act as a highlighter with help
of corresponding argument of AddBuilder() method.

5. Visual attributes of MeshVS_Mesh object (such as shading color, shrink
coeffiient and so on) are controlled through MeshVS_Drawer object. It maintains
a map "Attribute ID --> attribute value" and can be easily extended with any
number of custom attributes.

6. In all other respects, MeshVS_Mesh is very similar to any other
AIS_InteractiveObject-derived class, and it should be used accordingly (refer to
description of AIS package in the documentation).
Improvements:
Test 3D view implemented in ViewerTest package has been improved. Now it
provides such common user interface feature as selection with rectangle.
Modified entities:
MeshVS package:

New classes:
 
MeshVS_Mesh (MeshVS_Mesh.cdl),
MeshVS_DataSource (MeshVS_DataSource.cdl),
MeshVS_PrsBuilder (MeshVS_PrsBuilder.cdl),
MeshVS_MeshPrsBuilder (MeshVS_MeshPrsBuilder.cdl)
MeshVS_NodalColorPrsBuilder (MeshVS_NodalColorPrsBuilder.cdl)
MeshVS_ElementalColorPrsBuilder (MeshVS_ElementalColorPrsBuilder.cdl)
MeshVS_TextPrsBuilder (MeshVS_TextPrsBuilder.cdl)
MeshVS_VectorPrsBuilder (MeshVS_VectorPrsBuilder.cdl)
TagsNo tags attached.
Test case number

Attached Files

  • OCC6080_src.zip (69,545 bytes)
  • Draw_addition.doc (38,912 bytes)
  • OCC6080-asl-v2.tar.gz (47,885 bytes)
  • OCC6080-asl-v3.tar.gz (19,523 bytes)
  • OCC6080-asl-v4.tar.gz (47,891 bytes)
  • ViewerTest_ViewerCommands.cxx.gz (7,969 bytes)
  • MeshVS.doc (21,504 bytes)

Activities

2004-06-24 08:44

 

OCC6080_src.zip (69,545 bytes)

2004-06-24 08:45

 

Draw_addition.doc (38,912 bytes)

2004-06-25 09:03

 

OCC6080-asl-v2.tar.gz (47,885 bytes)

2004-06-28 15:32

 

OCC6080-asl-v3.tar.gz (19,523 bytes)

2004-06-29 10:25

 

OCC6080-asl-v4.tar.gz (47,891 bytes)

2004-07-02 08:01

 

ViewerTest_ViewerCommands.cxx.gz (7,969 bytes)

2004-10-28 06:50

 

MeshVS.doc (21,504 bytes)

Issue History

Date Modified Username Field Change
2004-06-09 13:03 san CC => vtn
2004-06-09 13:43 bugmaster Assigned To bugmaster => san
2004-06-09 13:43 bugmaster Status new => assigned
2004-06-24 11:26 bugmaster CC => mkv
2004-06-24 11:27 bugmaster CC => imv
2004-06-25 11:03 mkv CC => asl
2004-06-30 10:30 bugmaster Status assigned => tested
2004-07-02 16:14 aki CC => aki
2004-07-08 10:42 bugmaster Status tested => verified
2004-08-02 18:03 bugmaster Status verified => closed
2004-08-02 18:03 bugmaster Fixed in Version => 5.1.3
2004-08-02 18:03 bugmaster Resolution @0@ => fixed
2011-08-02 11:24 bugmaster Category OCCT:VIZ => OCCT:Visualization
2012-01-17 12:28 atp Description Updated
2012-01-17 12:28 atp Additional Information Updated