Rumba C++ SDK
Camera

Functions

virtual bool maquina::NodeDelegate::is_camera () const
 Returns true if this node is a camera. More...
 
virtual bool maquina::NodeDelegate::is_orthographic (const QueryContext &qc=QueryContext::at_current_frame) const
 Does this camera has an orthographic projection. More...
 
virtual float maquina::NodeDelegate::orthographic_width (const QueryContext &qc=QueryContext::at_current_frame) const
 Return the orthographic width, the length projected in the width of the camera image. More...
 
virtual void maquina::NodeDelegate::set_orthographic_width (float width, const ModificationContext &mc)
 Set the orthographic width. More...
 
virtual float maquina::NodeDelegate::center_of_interest (const QueryContext &qc=QueryContext::at_current_frame) const
 Return the center of interest, the distance of the point the camera is looking at. More...
 
virtual void maquina::NodeDelegate::set_center_of_interest (float coi, const ModificationContext &mc)
 Set the center of interest. More...
 
virtual float maquina::NodeDelegate::focal_length (const QueryContext &qc=QueryContext::at_current_frame) const
 Return the focal length, in mm. More...
 
virtual void maquina::NodeDelegate::set_focal_length (float fl, const ModificationContext &mc)
 Set the focal length, in mm. More...
 
virtual float maquina::NodeDelegate::horizontal_aperture (const QueryContext &qc=QueryContext::at_current_frame) const
 Return the horizontal aperture, in cm. More...
 
virtual void maquina::NodeDelegate::set_horizontal_aperture (float horizontal_aperture, const ModificationContext &mc)
 Set the horizontal aperture, in cm. More...
 
virtual float maquina::NodeDelegate::vertical_aperture (const QueryContext &qc=QueryContext::at_current_frame) const
 Return the vertical aperture, in cm. More...
 
virtual void maquina::NodeDelegate::set_vertical_aperture (float vertical_aperture, const ModificationContext &mc)
 Set the vertical aperture, in cm. More...
 
virtual float maquina::NodeDelegate::near_clipping_plane (const QueryContext &qc=QueryContext::at_current_frame) const
 Return the near clipping plane. More...
 
virtual void maquina::NodeDelegate::set_near_clipping_plane (float near_clipping_plane, const ModificationContext &mc)
 Set the near clipping plane. More...
 
virtual float maquina::NodeDelegate::far_clipping_plane (const QueryContext &qc=QueryContext::at_current_frame) const
 Return the far clipping plane. More...
 
virtual void maquina::NodeDelegate::set_far_clipping_plane (float far_clipping_plane, const ModificationContext &mc)
 Set the far clipping plane. More...
 

Detailed Description

Function Documentation

◆ center_of_interest()

virtual float maquina::NodeDelegate::center_of_interest ( const QueryContext qc = QueryContext::at_current_frame) const
virtual

Return the center of interest, the distance of the point the camera is looking at.

Reimplemented in maquina::NodeDelegateRumba.

◆ far_clipping_plane()

virtual float maquina::NodeDelegate::far_clipping_plane ( const QueryContext qc = QueryContext::at_current_frame) const
virtual

Return the far clipping plane.

Reimplemented in maquina::NodeDelegateRumba.

◆ focal_length()

virtual float maquina::NodeDelegate::focal_length ( const QueryContext qc = QueryContext::at_current_frame) const
virtual

Return the focal length, in mm.

Reimplemented in maquina::NodeDelegateRumba.

◆ horizontal_aperture()

virtual float maquina::NodeDelegate::horizontal_aperture ( const QueryContext qc = QueryContext::at_current_frame) const
virtual

Return the horizontal aperture, in cm.

Reimplemented in maquina::NodeDelegateRumba.

◆ is_camera()

virtual bool maquina::NodeDelegate::is_camera ( ) const
virtual

Returns true if this node is a camera.

Reimplemented in maquina::NodeDelegateRumba.

◆ is_orthographic()

virtual bool maquina::NodeDelegate::is_orthographic ( const QueryContext qc = QueryContext::at_current_frame) const
virtual

Does this camera has an orthographic projection.

Reimplemented in maquina::NodeDelegateRumba.

◆ near_clipping_plane()

virtual float maquina::NodeDelegate::near_clipping_plane ( const QueryContext qc = QueryContext::at_current_frame) const
virtual

Return the near clipping plane.

Reimplemented in maquina::NodeDelegateRumba.

◆ orthographic_width()

virtual float maquina::NodeDelegate::orthographic_width ( const QueryContext qc = QueryContext::at_current_frame) const
virtual

Return the orthographic width, the length projected in the width of the camera image.

Reimplemented in maquina::NodeDelegateRumba.

◆ set_center_of_interest()

virtual void maquina::NodeDelegate::set_center_of_interest ( float  coi,
const ModificationContext mc 
)
virtual

Set the center of interest.

Reimplemented in maquina::NodeDelegateRumba.

◆ set_far_clipping_plane()

virtual void maquina::NodeDelegate::set_far_clipping_plane ( float  far_clipping_plane,
const ModificationContext mc 
)
virtual

Set the far clipping plane.

Reimplemented in maquina::NodeDelegateRumba.

◆ set_focal_length()

virtual void maquina::NodeDelegate::set_focal_length ( float  fl,
const ModificationContext mc 
)
virtual

Set the focal length, in mm.

Reimplemented in maquina::NodeDelegateRumba.

◆ set_horizontal_aperture()

virtual void maquina::NodeDelegate::set_horizontal_aperture ( float  horizontal_aperture,
const ModificationContext mc 
)
virtual

Set the horizontal aperture, in cm.

Reimplemented in maquina::NodeDelegateRumba.

◆ set_near_clipping_plane()

virtual void maquina::NodeDelegate::set_near_clipping_plane ( float  near_clipping_plane,
const ModificationContext mc 
)
virtual

Set the near clipping plane.

Reimplemented in maquina::NodeDelegateRumba.

◆ set_orthographic_width()

virtual void maquina::NodeDelegate::set_orthographic_width ( float  width,
const ModificationContext mc 
)
virtual

Set the orthographic width.

Reimplemented in maquina::NodeDelegateRumba.

◆ set_vertical_aperture()

virtual void maquina::NodeDelegate::set_vertical_aperture ( float  vertical_aperture,
const ModificationContext mc 
)
virtual

Set the vertical aperture, in cm.

Reimplemented in maquina::NodeDelegateRumba.

◆ vertical_aperture()

virtual float maquina::NodeDelegate::vertical_aperture ( const QueryContext qc = QueryContext::at_current_frame) const
virtual

Return the vertical aperture, in cm.

Reimplemented in maquina::NodeDelegateRumba.