|
VTK
9.4.2
|
#include "vtkObject.h"#include "vtkCommonCoreModule.h"#include "vtkMarshalContext.h"#include "vtkSmartPointer.h"#include "vtk_nlohmannjson.h"#include <VTK_NLOHMANN_JSON(json_fwd.hpp)>#include <memory>#include <typeinfo>Go to the source code of this file.
Classes | |
| class | vtkDeserializer |
| Deserialize VTK objects from JSON. More... | |
Macros | |
| #define | VTK_DESERIALIZE_VALUE_FROM_STATE(name, type, state, object) |
| Convenient to get value for a property from the state and apply the value on a vtk object. | |
| #define | VTK_DESERIALIZE_VTK_OBJECT_FROM_STATE_DIFFERENT_NAMES( stateKey, propertyName, cls, state, object, deserializer) |
| Convenient to get a vtkObject property from the state and set it on another vtk object. | |
| #define | VTK_DESERIALIZE_VTK_OBJECT_FROM_STATE(name, cls, state, object, deserializer) |
| Similar to above, when the state and VTK class property have the same name. | |
| #define | VTK_DESERIALIZE_VECTOR_FROM_STATE(name, type, state, object) |
| Convenient to get a vector of values for a property from the state and apply the values on a vtk object. | |
| #define VTK_DESERIALIZE_VALUE_FROM_STATE | ( | name, | |
| type, | |||
| state, | |||
| object | |||
| ) |
Convenient to get value for a property from the state and apply the value on a vtk object.
Definition at line 127 of file vtkDeserializer.h.
| #define VTK_DESERIALIZE_VTK_OBJECT_FROM_STATE_DIFFERENT_NAMES | ( | stateKey, | |
| propertyName, | |||
| cls, | |||
| state, | |||
| object, | |||
| deserializer | |||
| ) |
Convenient to get a vtkObject property from the state and set it on another vtk object.
stateKey is the name used in state. propertyName is the name used by the VTK class Set/Get macros or a SetSomething() function. This is a special case.
Definition at line 142 of file vtkDeserializer.h.
| #define VTK_DESERIALIZE_VTK_OBJECT_FROM_STATE | ( | name, | |
| cls, | |||
| state, | |||
| object, | |||
| deserializer | |||
| ) |
Similar to above, when the state and VTK class property have the same name.
This is common.
Definition at line 163 of file vtkDeserializer.h.
| #define VTK_DESERIALIZE_VECTOR_FROM_STATE | ( | name, | |
| type, | |||
| state, | |||
| object | |||
| ) |
Convenient to get a vector of values for a property from the state and apply the values on a vtk object.
Definition at line 171 of file vtkDeserializer.h.