DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Data Fields
DGtal::Display3D::pointD3D Struct Reference

#include <Display3D.h>

Public Member Functions

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

Data Fields

double x
double y
double z
unsigned int R
unsigned int G
unsigned int B
unsigned int T
bool isSigned
bool signPos
double size

Detailed Description

Structure used to display KSPoint in 3D and MeshFromPoints

See also:
addKSPointel

Definition at line 175 of file Display3D.h.


Member Function Documentation

const double& DGtal::Display3D::pointD3D::operator[] ( unsigned int  i) const
inline

Definition at line 176 of file Display3D.h.

References x, y, and z.

{
assert(i<3);
switch (i){
case 0: {return x;}
case 1: {return y;}
case 2: {return z;}
}
return x;
};
double& DGtal::Display3D::pointD3D::operator[] ( unsigned int  i)
inline

Definition at line 185 of file Display3D.h.

References x, y, and z.

{
assert(i<3);
switch (i){
case 0: {return x;}
case 1: {return y;}
case 2: {return z;}
}
return x;
};

Field Documentation

unsigned int DGtal::Display3D::pointD3D::B
unsigned int DGtal::Display3D::pointD3D::G
bool DGtal::Display3D::pointD3D::isSigned
unsigned int DGtal::Display3D::pointD3D::R
bool DGtal::Display3D::pointD3D::signPos
double DGtal::Display3D::pointD3D::size
unsigned int DGtal::Display3D::pointD3D::T
double DGtal::Display3D::pointD3D::x
double DGtal::Display3D::pointD3D::y
double DGtal::Display3D::pointD3D::z

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