Kanzi 3.9.10
CameraEnums.ProjectionType Enum Reference

Specifies the available camera projection types. More...

Inheritance diagram for CameraEnums.ProjectionType:
[legend]

Public Member Functions

 ProjectionType (int value)
 Constructs a ProjectionType of an integer value.
 
 ProjectionType (ProjectionType enum_)
 Constructs a copy of a ProjectionType object.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static ProjectionType swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static ProjectionType toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 ProjectionAsymmetricPerspective =(2)
 Asymmetric perspective projection lets you control the field of view of each angle of a perspective projection.
 
 ProjectionOrthographic =(1)
 Orthographic projection shows a 2D view of a 3D scene without providing a sense of depth.
 
 ProjectionPerspective =(0)
 Perspective projection shows objects closer to the camera larger than those that are further away.
 

Detailed Description

Specifies the available camera projection types.

Constructor & Destructor Documentation

◆ ProjectionType() [1/2]

ProjectionType ( int value)

Constructs a ProjectionType of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ ProjectionType() [2/2]

Constructs a copy of a ProjectionType object.

Parameters
enum_ProjectionType to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static ProjectionType swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static ProjectionType toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.