RemoteViz::Rendering::EncodedFrame Class Reference
[RemoteViz]

RemoteViz More...

#include <RemoteViz/Rendering/EncodedFrame.h>

List of all members.

Public Types

enum  EncodingFormat {
  JPEG,
  PNG,
  H264
}

Public Member Functions

virtual ~EncodedFrame ()
size_t getBufferSize () const
EncodingFormat getEncodingFormat () const
size_t getId () const
bool isLossless () const
bool isInteractive () const

Detailed Description

RemoteViz

This class provides the features of an encoded frame that is sent to the client.


Member Enumeration Documentation

Encoding format.

Enumerator:
JPEG 
PNG 
H264 

Constructor & Destructor Documentation

virtual RemoteViz::Rendering::EncodedFrame::~EncodedFrame (  )  [virtual]

Destructor.


Member Function Documentation

size_t RemoteViz::Rendering::EncodedFrame::getBufferSize (  )  const

Gets the frame buffer size in bytes.

Returns:
the buffer size of the encoded frame.
EncodingFormat RemoteViz::Rendering::EncodedFrame::getEncodingFormat (  )  const

Gets the frame encoding format.

Returns:
the encoding format of the encoded frame.
size_t RemoteViz::Rendering::EncodedFrame::getId (  )  const

Gets the frame id.

Returns:
the frame id of the encoded frame.
bool RemoteViz::Rendering::EncodedFrame::isInteractive (  )  const

Returns if an user interaction is in progress when the frame has been encoded.

If the frame is interactive, the frame has been encoded with the interactive frame encoder and a quality adapted to the network bandwidth.
Otherwise (the frame is still), the frame has been encoded with the still frame encoder and the best available quality.

Returns:
true if the frame is interactive
bool RemoteViz::Rendering::EncodedFrame::isLossless (  )  const

Returns if the frame is lossless.

Returns:
true if the frame is lossless

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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/