DGtal  1.5.beta
DGtal::CameraZNearFar Struct Reference

CameraZNearFar class to set near and far distance. More...

#include <DGtal/io/boards/DrawWithBoard3DTo2DModifier.h>

Inheritance diagram for DGtal::CameraZNearFar:
[legend]

Public Member Functions

 CameraZNearFar (const double near, const double far)
 
 CameraZNearFar (const double near, const double far)
 
- Public Member Functions inherited from DGtal::DrawWithBoard3DTo2DModifier
std::string className () const
 
- Public Member Functions inherited from DGtal::DrawableWithDisplay3D
template<typename Sp , typename KSp >
void setStyle (Display3D< Sp, KSp > &) const
 
virtual ~DrawableWithDisplay3D ()
 
- Public Member Functions inherited from DGtal::DrawWithViewer3DModifier
std::string className () const
 
- Public Member Functions inherited from DGtal::DrawWithDisplay3DModifier
std::string className () const
 

Data Fields

double ZNear
 
double ZFar
 

Detailed Description

CameraZNearFar class to set near and far distance.

Definition at line 132 of file DrawWithBoard3DTo2DModifier.h.

Constructor & Destructor Documentation

◆ CameraZNearFar() [1/2]

DGtal::CameraZNearFar::CameraZNearFar ( const double  near,
const double  far 
)
inline

Constructor.

Parameters
nearnear distance.
farfar distance.

Definition at line 140 of file DrawWithBoard3DTo2DModifier.h.

140  : ZNear(near), ZFar(far)
141  {
142  }

◆ CameraZNearFar() [2/2]

DGtal::CameraZNearFar::CameraZNearFar ( const double  near,
const double  far 
)
inline

Constructor.

Parameters
nearnear distance.
farfar distance.

Definition at line 140 of file DrawWithViewer3DModifier.h.

140  : ZNear(near), ZFar(far)
141  {
142  }

Field Documentation

◆ ZFar

double DGtal::CameraZNearFar::ZFar

Definition at line 144 of file DrawWithBoard3DTo2DModifier.h.

◆ ZNear

double DGtal::CameraZNearFar::ZNear

Definition at line 144 of file DrawWithBoard3DTo2DModifier.h.


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