CGAL 6.1 - CGAL Basic Viewer

Loading...
Searching...
No Matches
List of all members | Public Types
CGAL::Graphics_scene_options< DS, VertexDescriptor, EdgeDescriptor, FaceDescriptor, VolumeDescriptor > Struct Template Reference
Reference Manual » Classes

`#include <CGAL/Graphics_scene_options.h>`

## Definition

template<typename DS, typename VertexDescriptor, typename EdgeDescriptor, typename FaceDescriptor, typename VolumeDescriptor = void>
struct CGAL::Graphics_scene_options< DS, VertexDescriptor, EdgeDescriptor, FaceDescriptor, VolumeDescriptor >

The class `Graphics_scene_options` is used to tune the way that the cells of a given data structure of CGAL are considered.

The different `std::function` can be modified to change for example the behavior of the drawing. `VolumeDescriptor` can be `void` for data structures that do not represent volumes.

This class is a model of `GraphicsSceneOptions` when `VolumeDescriptor` is `void`, or a model of `GraphicsSceneOptionsWithVolumes` otherwise (`VolumeDescriptor` non `void`).

Template Parameters

  DS | a data structure of CGAL.
  VertexDescriptor | a descriptor of vertices of `DS`.
  EdgeDescriptor | a descriptor of edges of `DS`.
  FaceDescriptor | a descriptor of faces of `DS`.
  VolumeDescriptor | a descriptor of volumes of `DS`. `void` by default.

Is model of
  `GraphicsSceneOptions` or GraphicsSceneOptionsWithVolumes

Examples
  Basic_viewer/draw_mesh_and_points.cpp, Basic_viewer/draw_surface_mesh_height.cpp, Basic_viewer/draw_surface_mesh_small_faces.cpp, and Basic_viewer/draw_surface_mesh_vcolor.cpp.

## Public Types
typedef VertexDescriptor | vertex_descriptor
typedef EdgeDescriptor | edge_descriptor
typedef FaceDescriptor | face_descriptor
typedef VolumeDescriptor | volume_descriptor