prep for configurable options

This commit is contained in:
djaidjai committed 2024-05-26 16:43:53 +02:00
1 parent 627a784f72
commit cc3e62af05
9 files changed
+138 -29

No files matched your search

@@ -48,3 +48,31 @@ void Technique::unbind(vtkSmartPointer<vtkRenderWindow> win, vtkSmartPointer<vtk
}
win->SetNumberOfLayers(0);
}
void Technique::setColorMode(ColourMode mode) {
for (Layer *l : this->layers) {
l->setColorMode(mode);
}
}
void Technique::setSaturationMode(SaturationMode mode) {
for (Layer *l : this->layers) {
l->setSaturationMode(mode);
}
}
void Technique::setGlyphStyle(GlyphStyle style) {
for (Layer *l : this->layers) {
l->setGlyphStyle(style);
}
}
void Technique::setSamplingMode(SamplingMode mode) {
for (Layer *l : this->layers) {
l->setSamplingMode(mode);
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.