18 #ifndef AGXOSG_VIDEOFFMPEGPIPECAPTURE_H 19 #define AGXOSG_VIDEOFFMPEGPIPECAPTURE_H 100 void setImageCaptureFPS(
agx::Real imageFPS);
106 void setEnableLossless(
bool enable);
109 bool getEnableLossless()
const;
118 bool hasActiveVideo()
const;
129 void startExternalFFMPEGProcess();
131 void closeExternalFFMPEGProcess();
143 virtual void writeImage(osg::Image *image,
agx::Index index);
154 bool m_enableLossless;
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API...
agx::HashTable< OutputCodec, agx::String, CodecHash > CodecStringConversionMap
Map for storing codec string conversion for FFMPEG.
#define AGX_DECLARE_POINTER_TYPES(type)
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
static CodecStringConversionMap OutputCodecStrings
OutputCodec
Enum describing the different types of codecs that are available.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
agx::UInt32 operator()(T t) const
Inheritance with partial specialization due to bug with ref_ptr containers.