DGtal 1.4.0
Loading...
Searching...
No Matches
DGtal::Display3D< Space, KSpace >::BallD3D Struct Reference

#include <DGtal/io/Display3D.h>

Inheritance diagram for DGtal::Display3D< Space, KSpace >::BallD3D:
[legend]

Public Member Functions

const double & operator[] (unsigned int i) const
 
double & operator[] (unsigned int i)
 

Data Fields

RealPoint center
 
bool isSigned
 
bool signPos
 
double radius
 
unsigned int resolution
 
- Data Fields inherited from DGtal::Display3D< Space, KSpace >::CommonD3D
DGtal::Color color
 Color used for displaying the graphical structure.
 
DGtal::int32_t name
 The "OpenGL name" associated with the graphical structure, used for selecting it (-1 is none).
 

Static Public Attributes

static const RealPoint::Dimension dimension = RealPoint::dimension
 

Additional Inherited Members

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

Detailed Description

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

Structure used to display point in 3D

See also
addBall

Definition at line 216 of file Display3D.h.

Member Function Documentation

◆ operator[]() [1/2]

template<typename Space = Z3i::Space, typename KSpace = Z3i::KSpace>
double & DGtal::Display3D< Space, KSpace >::BallD3D::operator[] ( unsigned int i)
inline

Definition at line 224 of file Display3D.h.

225 {
226 assert(i<3);
227 return center[i];
228 };

References DGtal::Display3D< Space, KSpace >::BallD3D::center.

◆ operator[]() [2/2]

template<typename Space = Z3i::Space, typename KSpace = Z3i::KSpace>
const double & DGtal::Display3D< Space, KSpace >::BallD3D::operator[] ( unsigned int i) const
inline

Definition at line 219 of file Display3D.h.

220 {
221 assert(i<3);
222 return center[i];
223 };

References DGtal::Display3D< Space, KSpace >::BallD3D::center.

Field Documentation

◆ center

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

◆ dimension

template<typename Space = Z3i::Space, typename KSpace = Z3i::KSpace>
const RealPoint::Dimension DGtal::Display3D< Space, KSpace >::BallD3D::dimension = RealPoint::dimension
static

Definition at line 218 of file Display3D.h.

◆ isSigned

template<typename Space = Z3i::Space, typename KSpace = Z3i::KSpace>
bool DGtal::Display3D< Space, KSpace >::BallD3D::isSigned

Definition at line 230 of file Display3D.h.

◆ radius

template<typename Space = Z3i::Space, typename KSpace = Z3i::KSpace>
double DGtal::Display3D< Space, KSpace >::BallD3D::radius

Definition at line 232 of file Display3D.h.

◆ resolution

template<typename Space = Z3i::Space, typename KSpace = Z3i::KSpace>
unsigned int DGtal::Display3D< Space, KSpace >::BallD3D::resolution

Definition at line 233 of file Display3D.h.

◆ signPos

template<typename Space = Z3i::Space, typename KSpace = Z3i::KSpace>
bool DGtal::Display3D< Space, KSpace >::BallD3D::signPos

Definition at line 231 of file Display3D.h.


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