DGtal 1.3.0
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
DGtal::CameraZNearFar Struct Reference

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

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

Inheritance diagram for DGtal::CameraZNearFar:
DGtal::DrawWithBoard3DTo2DModifier DGtal::DrawWithViewer3DModifier DGtal::DrawableWithDisplay3D DGtal::DrawWithDisplay3DModifier

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.

Examples
geometry/curves/exampleArithDSS3d.cpp, and io/boards/dgtalBoard3DTo2D-1-points.cpp.

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.

◆ 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: