AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
agxOSG/SimulationSerializer.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16#ifndef AGXOSG_SIMULATIONSERIALIZER_H
17#define AGXOSG_SIMULATIONSERIALIZER_H
18
21
22namespace agxOSG
23{
24
27 {
28 public:
29
35
36 protected:
37
38 void write( const agx::TimeStamp& t ) ;
39
41
42 private:
44 };
45
47}
48#endif
#define AGXOSG_EXPORT
Class that encapsulates rendering and simulation using OpenSceneGraph.
class for serializing a simulation into a series for files on disk 0001_filename etc.
SimulationSerializer(agxOSG::ExampleApplication *application)
Default constructor, sets interval to 30hz and filename to saved_scene.
void write(const agx::TimeStamp &t)
class for serializing a simulation into a series for files on disk <filename>_0001....
Smart pointer for observed objects, that automatically set pointers to them to null when they deleted...
Definition: observer_ptr.h:61
Smart pointer for handling referenced counted objects.
Definition: ref_ptr.h:30
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
agx::ref_ptr< SimulationSerializer > SimulationSerializerRef
agx::Real TimeStamp
Definition: TimeStamp.h:26