]> OCCT Git - occt-copy.git/commit
0024762: Visualization - new interactive object AIS_ColoredShape with customized...
authorkgv <kgv@opencascade.com>
Wed, 2 Apr 2014 07:21:24 +0000 (11:21 +0400)
committerabv <abv@opencascade.com>
Fri, 4 Apr 2014 07:22:57 +0000 (11:22 +0400)
commit6858f70e9ae1b67cb11ca36464e17dff325bbbf9
tree5cf255eb257eea6a43823311be1bfd7ba06d77c2
parenta76ea94c2caaef4a5eb49004ee03f74b82c24c8a
0024762: Visualization - new interactive object AIS_ColoredShape with customized subshapes presentations

AIS_Shape, ::SetColor(), ::SetMaterial(), ::SetTransparency(), ::SetWidth() - improve consistency.
Setup color for marker aspect as well.

vaspects - new command superseeds vsetcolor, vsetmaterial, vsettransparancy, vsetwidth and their unset analogs. Improve syntax and arguments validation.

OpenGl_AspectMarker::SetAspect() - do not reset myMarkerSize when sprite is unchanged.

Extend NCollection_IndexedDataMap - Iterator::Key() and FindFromKey() with value copying.

Add test case bugs vis bug24762_coloredshape.
15 files changed:
src/AIS/AIS.cdl
src/AIS/AIS_ColoredShape.cxx [new file with mode: 0644]
src/AIS/AIS_ColoredShape.hxx [new file with mode: 0644]
src/AIS/AIS_Drawer.lxx
src/AIS/AIS_Shape.cdl
src/AIS/AIS_Shape.cxx
src/AIS/FILES
src/Graphic3d/Graphic3d_MaterialAspect.cdl
src/Graphic3d/Graphic3d_MaterialAspect.cxx
src/NCollection/NCollection_IndexedDataMap.hxx
src/OpenGl/OpenGl_AspectMarker.cxx
src/StdPrs/StdPrs_ShadedShape.cdl
src/StdPrs/StdPrs_ShadedShape.cxx
src/ViewerTest/ViewerTest.cxx
tests/bugs/vis/bug24762_coloredshape [new file with mode: 0644]