\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 5.0.2 - Three
Three Reference

pkg-small.png
Laurent Rineau, Sebastien Loriot, Andreas Fabri, Maxime Gimeno
This package provides base classes for building a plugin.
Introduced in: CGAL 4.8
BibTeX: cgal:rlfg-pd-20a
License: GPL

Classified Reference Pages

Interfaces

Classes

Enumerations

enum  RenderingMode { ,
  PointsPlusNormals, Wireframe, Flat, FlatPlusEdges,
  Gouraud, GouraudPlusEdges, ShadedPoints, NumberOfRenderingMode
}
 The RenderingMode determines which of an item's primitives must be drawn. More...
 

Enumeration Type Documentation

◆ RenderingMode

#include <CGAL/Three/Scene_interface.h>

The RenderingMode determines which of an item's primitives must be drawn.

It can be Points, PointsPlusNormals, Wireframe, Flat, FlatPlusEdges, or Gouraud.

  • Points, PointsPlusNormals, and Wireframe have no light model.
  • Flat and FlatPlusEdges use a basic light model with one normal per facet.
  • Gouraud uses the same light model but with one normal per vertex.
Enumerator
PointsPlusNormals 

Renders only points without lighting.

Wireframe 

Renders points and normals.

Flat 

Renders only edges.

FlatPlusEdges 

Renders only faces, with a lighting per face.

Gouraud 

Renders flat faces and edges.

GouraudPlusEdges 

Renders only faces, with a lighting per vertex.

ShadedPoints 

Renders faces with a lighting per vertex, and edges.

NumberOfRenderingMode 

Renders only points with lighting.

Number of values in this enum.