Example of visualization after adding two clipping planes
- See also
- Adding clipping planes
Visualization after adding a second clipping plane (1,0,0,-4.9) .
#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/shapes/Shapes.h"
#include "DGtal/io/viewers/PolyscopeViewer.h"
#include "DGtal/io/Color.h"
int main(
int argc,
char** argv )
{
PolyscopeViewer viewer;
viewer << shape_set;
viewer <<
Color(250, 200,0, 100);
return 0;
}
Structure representing an RGB triple with alpha component.
void show() override
Starts the event loop and display of elements.
static void addNorm2Ball(TDigitalSet &aSet, const Point &aCenter, UnsignedInteger aRadius)
Z3i this namespace gathers the standard of types for 3D imagery.
DGtal is the top-level namespace which contains all DGtal functions and types.
HyperRectDomain< Space > Domain
Z2i::DigitalSet DigitalSet