C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
GridGeometry Class Reference

#include <vsn_gridgeometry.h>

Detailed Description

Usage example:

// create a grid on the XY plane.
auto grid = new GridGeometry(Experiment::GridGeometry::XYPlane, *viewport());
// change colors
grid->SetFirstAxisColor(Color(200, 50, 50));
grid->SetSecondAxisColor(Color(50, 200, 50));
grid->SetGridLinesColor(Color(130,200,255));
// add to scene
new SceneSegment(new GeometryRep(grid), rootSegment);

The documentation for this class was generated from the following file: