DGtal  0.9.3beta
Public Member Functions | Data Fields
DGtal::CameraZNearFar Struct Reference

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

Inheritance diagram for DGtal::CameraZNearFar:
[legend]
Collaboration 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::DrawWithViewer3DModifier
std::string className () const
 
- Public Member Functions inherited from DGtal::DrawWithDisplay3DModifier
std::string className () const
 
- 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 ()
 

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

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  }
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

double DGtal::CameraZNearFar::ZFar

Definition at line 144 of file DrawWithBoard3DTo2DModifier.h.

double DGtal::CameraZNearFar::ZNear

Definition at line 144 of file DrawWithBoard3DTo2DModifier.h.


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