#include <itkWasmDataObject.h>
JSON representation for an itk::DataObject.
JSON-based Wasm representation for itk::DataObject's for interfacing across programming languages and runtimes.
Binary array buffer's are stored as strings with memory addresses or paths on disks or a virtual filesystem.
Definition at line 35 of file itkWasmDataObject.h.
Inheritance diagram for itk::WasmDataObject:
Collaboration diagram for itk::WasmDataObject:Public Types | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = WasmDataObject |
| using | Superclass = DataObject |
Public Types inherited from itk::DataObject | |
| using | ConstPointer = SmartPointer<const Self> |
| using | DataObjectIdentifierType = std::string |
| using | DataObjectPointerArraySizeType = std::vector<Pointer>::size_type |
| using | Pointer = SmartPointer<Self> |
| using | Self = DataObject |
| using | Superclass = Object |
Public Types inherited from itk::Object | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = Object |
| using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = LightObject |
Public Member Functions | |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual const DataObject * | GetDataObject () const |
| virtual const std::string & | GetJSON () const |
| virtual const char * | GetNameOfClass () const |
| virtual void | SetDataObject (DataObject *_arg) |
| virtual void | SetJSON (const char *_arg) |
Public Member Functions inherited from itk::DataObject | |
| virtual void | CopyInformation (const DataObject *) |
| virtual void | DataHasBeenGenerated () |
| void | DisconnectPipeline () |
| bool | GetDataReleased () const |
| virtual const bool & | GetReleaseDataFlag () const |
| SmartPointer< ProcessObject > | GetSource () const |
| DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
| const DataObjectIdentifierType & | GetSourceOutputName () const |
| virtual ModifiedTimeType | GetUpdateMTime () const |
| virtual void | Graft (const DataObject *) |
| virtual void | Initialize () |
| virtual void | PrepareForNewData () |
| virtual void | PropagateRequestedRegion () |
| void | ReleaseData () |
| virtual void | ReleaseDataFlagOff () |
| virtual void | ReleaseDataFlagOn () |
| virtual bool | RequestedRegionIsOutsideOfTheBufferedRegion () |
| virtual void | ResetPipeline () |
| void | SetReleaseDataFlag (bool flag) |
| virtual void | SetRequestedRegion (const DataObject *) |
| virtual void | SetRequestedRegionToLargestPossibleRegion () |
| bool | ShouldIReleaseData () const |
| virtual void | Update () |
| virtual void | UpdateOutputData () |
| virtual void | UpdateOutputInformation () |
| void | UpdateSource () const |
| virtual bool | VerifyRequestedRegion () |
| void | SetPipelineMTime (ModifiedTimeType time) |
| virtual const ModifiedTimeType & | GetPipelineMTime () const |
| virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
| virtual const RealTimeStamp & | GetRealTimeStamp () const |
Public Member Functions inherited from itk::Object | |
| unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
| unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
| virtual void | DebugOff () const |
| virtual void | DebugOn () const |
| Command * | GetCommand (unsigned long tag) |
| bool | GetDebug () const |
| MetaDataDictionary & | GetMetaDataDictionary () |
| const MetaDataDictionary & | GetMetaDataDictionary () const |
| virtual ModifiedTimeType | GetMTime () const |
| virtual const TimeStamp & | GetTimeStamp () const |
| bool | HasObserver (const EventObject &event) const |
| void | InvokeEvent (const EventObject &) |
| void | InvokeEvent (const EventObject &) const |
| virtual void | Modified () const |
| void | Register () const override |
| void | RemoveAllObservers () |
| void | RemoveObserver (unsigned long tag) const |
| void | SetDebug (bool debugFlag) const |
| void | SetReferenceCount (int) override |
| void | UnRegister () const noexcept override |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
| virtual void | SetObjectName (std::string _arg) |
| virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
| Pointer | Clone () const |
| virtual void | Delete () |
| virtual int | GetReferenceCount () const |
| void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::DataObject | |
| static bool | GetGlobalReleaseDataFlag () |
| static void | GlobalReleaseDataFlagOff () |
| static void | GlobalReleaseDataFlagOn () |
| static Pointer | New () |
| static void | SetGlobalReleaseDataFlag (bool val) |
Static Public Member Functions inherited from itk::Object | |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
| static void | BreakOnError () |
| static Pointer | New () |
Protected Member Functions | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| WasmDataObject ()=default | |
| ~WasmDataObject () override=default | |
Protected Member Functions inherited from itk::DataObject | |
| DataObject () | |
| virtual void | PropagateResetPipeline () |
| ~DataObject () override | |
Protected Member Functions inherited from itk::Object | |
| Object () | |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
| ~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
| virtual LightObject::Pointer | InternalClone () const |
| LightObject () | |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual | ~LightObject () |
Protected Attributes | |
| DataObject::ConstPointer | m_DataObject |
| std::string | m_JSON |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
| using itk::WasmDataObject::ConstPointer = SmartPointer<const Self> |
Definition at line 44 of file itkWasmDataObject.h.
| using itk::WasmDataObject::Pointer = SmartPointer<Self> |
Definition at line 43 of file itkWasmDataObject.h.
Standard smart pointer declarations
Definition at line 41 of file itkWasmDataObject.h.
Definition at line 42 of file itkWasmDataObject.h.
|
protecteddefault |
Referenced by GetNameOfClass(), and itk::WasmMesh< QuadEdgeMesh< TPixel, VDimension > >::itkTypeMacro().
|
overrideprotecteddefault |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
Reimplemented in itk::WasmImage< TImage >, itk::WasmImage< ImageType >, itk::WasmImage< ImageType >, itk::WasmMesh< TMesh >, itk::WasmMesh< MeshType >, itk::WasmMesh< MeshType >, itk::WasmMesh< QuadEdgeMesh< TPixel, VDimension > >, itk::WasmMesh< QuadEdgeMesh< TPixel, VDimension > >, itk::WasmPointSet< TPointSet >, itk::WasmPointSet< PointSetType >, itk::WasmPointSet< PointSetType >, itk::WasmPolyData< TPolyData >, itk::WasmPolyData< PolyDataType >, itk::WasmPolyData< PolyDataType >, itk::WasmStringStream, itk::WasmTransform< TTransform >, itk::WasmTransform< TransformType >, and itk::WasmTransform< TransformType >.
|
virtual |
Get/Set the DataObject used to generate the JSON representation.
We hold a reference to this object.
References itk::DataObject::DataObject().
Referenced by itk::WasmImage< ImageType >::GetImage(), itk::WasmMesh< MeshType >::GetMesh(), itk::WasmMesh< QuadEdgeMesh< TPixel, VDimension > >::GetMesh(), itk::WasmPointSet< PointSetType >::GetPointSet(), itk::WasmPolyData< PolyDataType >::GetPolyData(), and itk::WasmTransform< TransformType >::GetTransform().
|
inlinevirtual |
Definition at line 51 of file itkWasmDataObject.h.
References m_JSON.
|
virtual |
Reimplemented from itk::DataObject.
Reimplemented in itk::WasmImage< TImage >, itk::WasmImage< ImageType >, itk::WasmImage< ImageType >, itk::WasmMesh< TMesh >, itk::WasmMesh< MeshType >, itk::WasmMesh< MeshType >, itk::WasmMesh< QuadEdgeMesh< TPixel, VDimension > >, itk::WasmPointSet< TPointSet >, itk::WasmPointSet< PointSetType >, itk::WasmPointSet< PointSetType >, itk::WasmPolyData< TPolyData >, itk::WasmPolyData< PolyDataType >, itk::WasmPolyData< PolyDataType >, itk::WasmStringStream, itk::WasmTransform< TTransform >, itk::WasmTransform< TransformType >, and itk::WasmTransform< TransformType >.
References WasmDataObject().
|
static |
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::DataObject.
Reimplemented in itk::WasmStringStream.
|
virtual |
References itk::DataObject::DataObject().
Referenced by itk::WasmImage< ImageType >::SetImage(), and itk::WasmPolyData< PolyDataType >::SetPolyData().
|
virtual |
Get/Set the DataObject JSON representation.
Reimplemented in itk::WasmStringStream.
Referenced by itk::WasmStringStream::SetJSON().
|
protected |
Definition at line 69 of file itkWasmDataObject.h.
|
protected |
Definition at line 68 of file itkWasmDataObject.h.
Referenced by GetJSON(), and itk::WasmStringStream::UpdateJSON().