comparison Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp @ 1617:49ba862d3454

fix build of mpr sample
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 30 Oct 2020 17:43:29 +0100
parents f5d4bd7b5593
children 1151e25d7311
comparison
equal deleted inserted replaced
1616:32090b775777 1617:49ba862d3454
1533 annotationsLayer.reset(new OrthancStone::MacroSceneLayer); 1533 annotationsLayer.reset(new OrthancStone::MacroSceneLayer);
1534 annotationsLayer->Reserve(a.size()); 1534 annotationsLayer->Reserve(a.size());
1535 1535
1536 OrthancStone::OsiriXLayerFactory factory; 1536 OrthancStone::OsiriXLayerFactory factory;
1537 factory.SetColor(0, 255, 0); 1537 factory.SetColor(0, 255, 0);
1538 factory.SetArrowLength(100);
1539 factory.SetArrowAngle(3.14159/4.0);
1540 1538
1541 for (std::set<size_t>::const_iterator it = a.begin(); it != a.end(); ++it) 1539 for (std::set<size_t>::const_iterator it = a.begin(); it != a.end(); ++it)
1542 { 1540 {
1543 const OrthancStone::OsiriX::Annotation& annotation = annotations_->GetAnnotation(*it); 1541 const OrthancStone::OsiriX::Annotation& annotation = annotations_->GetAnnotation(*it);
1544 annotationsLayer->AddLayer(factory.Create(annotation, geometry.GetCoordinates())); 1542 annotationsLayer->AddLayer(factory.Create(annotation, geometry.GetCoordinates()));