AJA NTV2 SDK  17.0.1.1246
NTV2 SDK 17.0.1.1246
NTV2FrameDimensions Class Reference

Describes the horizontal and vertical size dimensions of a raster, bitmap, frame or image. More...

#include <ntv2publicinterface.h>

Public Member Functions

 NTV2FrameDimensions (const ULWord inWidth=0, const ULWord inHeight=0)
 My constructor. More...
 
NTV2FrameDimensions & SetWidth (const ULWord inValue)
 Sets my width dimension. More...
 
NTV2FrameDimensions & SetHeight (const ULWord inValue)
 Sets my height dimension. More...
 
NTV2FrameDimensions & Set (const ULWord inWidth, const ULWord inHeight)
 Sets my dimension values. More...
 
NTV2FrameDimensions & Reset (void)
 Sets both my width and height to zero (an invalid state). More...
 

Detailed Description

Describes the horizontal and vertical size dimensions of a raster, bitmap, frame or image.

Definition at line 5632 of file ntv2publicinterface.h.

Constructor & Destructor Documentation

◆ NTV2FrameDimensions()

NTV2FrameDimensions::NTV2FrameDimensions ( const ULWord  inWidth = 0,
const ULWord  inHeight = 0 
)
inline

My constructor.

Parameters
[in]inWidthOptionally specifies my initial width dimension, in pixels. Defaults to zero.
[in]inHeightOptionally specifies my initial height dimension, in lines. Defaults to zero.

Definition at line 5641 of file ntv2publicinterface.h.

Member Function Documentation

◆ Reset()

NTV2FrameDimensions& NTV2FrameDimensions::Reset ( void  )
inline

Sets both my width and height to zero (an invalid state).

Returns
A non-constant reference to me.

Definition at line 5674 of file ntv2publicinterface.h.

◆ Set()

NTV2FrameDimensions& NTV2FrameDimensions::Set ( const ULWord  inWidth,
const ULWord  inHeight 
)
inline

Sets my dimension values.

Parameters
[in]inWidthSpecifies the new width dimension, in pixels.
[in]inHeightSpecifies the new height dimension, in lines.
Returns
A non-constant reference to me.

Definition at line 5668 of file ntv2publicinterface.h.

◆ SetHeight()

NTV2FrameDimensions& NTV2FrameDimensions::SetHeight ( const ULWord  inValue)
inline

Sets my height dimension.

Parameters
[in]inValueSpecifies the new height dimension, in lines.
Returns
A non-constant reference to me.

Definition at line 5660 of file ntv2publicinterface.h.

◆ SetWidth()

NTV2FrameDimensions& NTV2FrameDimensions::SetWidth ( const ULWord  inValue)
inline

Sets my width dimension.

Parameters
[in]inValueSpecifies the new width dimension, in pixels.
Returns
A non-constant reference to me.

Definition at line 5653 of file ntv2publicinterface.h.


The documentation for this class was generated from the following file: