occt: master ad3217cd

Author Committer Branch Timestamp Parent
kgv apn master 2014-04-03 12:29:23 master 8abada55
Changeset 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.
mod - src/AIS/AIS.cdl Diff File
add - src/AIS/AIS_ColoredShape.cxx Diff File
add - src/AIS/AIS_ColoredShape.hxx Diff File
mod - src/AIS/AIS_Drawer.lxx Diff File
mod - src/AIS/AIS_Shape.cdl Diff File
mod - src/AIS/AIS_Shape.cxx Diff File
mod - src/AIS/FILES Diff File
mod - src/Graphic3d/Graphic3d_MaterialAspect.cdl Diff File
mod - src/Graphic3d/Graphic3d_MaterialAspect.cxx Diff File
mod - src/NCollection/NCollection_IndexedDataMap.hxx Diff File
mod - src/OpenGl/OpenGl_AspectMarker.cxx Diff File
mod - src/StdPrs/StdPrs_ShadedShape.cdl Diff File
mod - src/StdPrs/StdPrs_ShadedShape.cxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
add - tests/bugs/vis/bug24762_coloredshape Diff File