DGtal 1.3.0
Loading...
Searching...
No Matches
Data Fields
DGtal::Display3D< Space, KSpace >::CubeD3D Struct Reference

#include <DGtal/io/Display3D.h>

Inheritance diagram for DGtal::Display3D< Space, KSpace >::CubeD3D:
DGtal::Display3D< Space, KSpace >::CommonD3D

Data Fields

RealPoint center
 The center coordinate of the cube. More...
 
double width
 The width of a cube face. More...
 
- Data Fields inherited from DGtal::Display3D< Space, KSpace >::CommonD3D
DGtal::Color color
 Color used for displaying the graphical structure. More...
 
DGtal::int32_t name
 The "OpenGL name" associated with the graphical structure, used for selecting it (-1 is none). More...
 

Additional Inherited Members

- Protected Member Functions inherited from DGtal::Display3D< Space, KSpace >::CommonD3D
 ~CommonD3D ()=default
 Protected destructor to disallow polymorphism. More...
 

Detailed Description

template<typename Space = Z3i::Space, typename KSpace = Z3i::KSpace>
struct DGtal::Display3D< Space, KSpace >::CubeD3D

The graphical structure that represents a 3D cube in Display3D.

Definition at line 160 of file Display3D.h.

Field Documentation

◆ center

template<typename Space = Z3i::Space, typename KSpace = Z3i::KSpace>
RealPoint DGtal::Display3D< Space, KSpace >::CubeD3D::center

The center coordinate of the cube.

Definition at line 162 of file Display3D.h.

Referenced by DGtal::Viewer3D< TSpace, TKSpace >::CompFarthestVoxelFromCamera::operator()().

◆ width

template<typename Space = Z3i::Space, typename KSpace = Z3i::KSpace>
double DGtal::Display3D< Space, KSpace >::CubeD3D::width

The width of a cube face.

Definition at line 164 of file Display3D.h.


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