LuciadCPillar 2023.1.04
luciad::OrthographicCamera::Builder Class Referencefinal

Factory object that can create new OrthographicCamera instances. More...

#include <luciad/cameras/OrthographicCamera.h>

Public Member Functions

 Builder (Builder &&other) noexcept
 
 Builder (const Builder &other)
 
 ~Builder ()
 
std::shared_ptr< OrthographicCamerabuild () const
 Returns a new orthographic camera. More...
 
Builderlook2D (const Look2D &look)
 Sets up a 2D camera viewpoint, looking straight down (along the z axis to plane at z=0). More...
 
Builderoperator= (Builder other) noexcept
 

Detailed Description

Factory object that can create new OrthographicCamera instances.

Constructor & Destructor Documentation

◆ Builder() [1/2]

luciad::OrthographicCamera::Builder::Builder ( const Builder other)

◆ Builder() [2/2]

luciad::OrthographicCamera::Builder::Builder ( Builder &&  other)
noexcept

◆ ~Builder()

luciad::OrthographicCamera::Builder::~Builder ( )

Member Function Documentation

◆ build()

std::shared_ptr< OrthographicCamera > luciad::OrthographicCamera::Builder::build ( ) const

Returns a new orthographic camera.

Returns
a new orthographic camera.

◆ look2D()

Builder & luciad::OrthographicCamera::Builder::look2D ( const Look2D look)

Sets up a 2D camera viewpoint, looking straight down (along the z axis to plane at z=0).

Parameters
lookthe description of target, scaling and orientation description for the new camera.
Returns
this builder

◆ operator=()

Builder & luciad::OrthographicCamera::Builder::operator= ( Builder  other)
noexcept