Feat(CS): Implement select/unhide functions into interior & exterior

worldspace widgets
macos_ci_fix
Dave Corley 1 year ago
parent 94eadd436d
commit 8edc148418

@ -875,6 +875,18 @@ std::vector<osg::ref_ptr<CSVRender::TagBase>> CSVRender::PagedWorldspaceWidget::
return result;
}
void CSVRender::PagedWorldspaceWidget::selectGroup(std::vector<std::string> group) const
{
for (const auto& [_, cell] : mCells)
cell->selectFromGroup(group);
}
void CSVRender::PagedWorldspaceWidget::unhideAll() const
{
for (const auto& [_, cell] : mCells)
cell->unhideAll();
}
std::vector<osg::ref_ptr<CSVRender::TagBase>> CSVRender::PagedWorldspaceWidget::getEdited(
unsigned int elementMask) const
{

@ -163,6 +163,10 @@ namespace CSVRender
std::vector<osg::ref_ptr<TagBase>> getSelection(unsigned int elementMask) const override;
void selectGroup(const std::vector<std::string> group) const override;
void unhideAll() const override;
std::vector<osg::ref_ptr<TagBase>> getEdited(unsigned int elementMask) const override;
void setSubMode(int subMode, unsigned int elementMask) override;

@ -199,6 +199,16 @@ std::vector<osg::ref_ptr<CSVRender::TagBase>> CSVRender::UnpagedWorldspaceWidget
return mCell->getSelection(elementMask);
}
void CSVRender::UnpagedWorldspaceWidget::selectGroup(const std::vector<std::string> group) const
{
mCell->selectFromGroup(group);
}
void CSVRender::UnpagedWorldspaceWidget::unhideAll() const
{
mCell->unhideAll();
}
std::vector<osg::ref_ptr<CSVRender::TagBase>> CSVRender::UnpagedWorldspaceWidget::getEdited(
unsigned int elementMask) const
{

@ -93,6 +93,10 @@ namespace CSVRender
std::vector<osg::ref_ptr<TagBase>> getSelection(unsigned int elementMask) const override;
void selectGroup(const std::vector<std::string> group) const override;
void unhideAll() const override;
std::vector<osg::ref_ptr<TagBase>> getEdited(unsigned int elementMask) const override;
void setSubMode(int subMode, unsigned int elementMask) override;

Loading…
Cancel
Save