DGtal  0.9.3beta
Public Member Functions | Data Fields | Static Public Attributes
DGtal::Display3D< Space, KSpace >::BallD3D Struct Reference

#include <DGtal/io/Display3D.h>

Inheritance diagram for DGtal::Display3D< Space, KSpace >::BallD3D:
[legend]
Collaboration 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
 
DGtal::int32_t name
 

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
 

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

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.

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

220  {
221  assert(i<3);
222  return center[i];
223  };
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.

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

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

Field Documentation

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

Definition at line 228 of file Display3D.h.

Referenced by DGtal::Display3D< Space, KSpace >::BallD3D::operator[]().

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.

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

Definition at line 230 of file Display3D.h.

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

Definition at line 232 of file Display3D.h.

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.

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: