VTK  9.5.20250913
Functions
vtkDataObjectToConduit Namespace Reference

Functions

VTKIOCATALYSTCONDUIT_EXPORT bool FillConduitNode (vtkDataObject *data_object, conduit_cpp::Node &conduit_node)
 Fill the given conduit "data" node with the data from the data object.
 
VTKIOCATALYSTCONDUIT_EXPORT void FillConduitNodeAssembly (vtkPartitionedDataSetCollection *pdc, conduit_cpp::Node &conduit_node)
 Append PDC assembly node to conduit channel.
 

Function Documentation

◆ FillConduitNode()

VTKIOCATALYSTCONDUIT_EXPORT bool vtkDataObjectToConduit::FillConduitNode ( vtkDataObject data_object,
conduit_cpp::Node &  conduit_node 
)

Fill the given conduit "data" node with the data from the data object.

data_object must be either vtkDataSet or vtkPartitionedDataSetCollection. The final structure is a valid blueprint mesh (for dataset) or multimesh (for pdc).

The conduit multimesh protocol is documented in ParaView's documentation https://docs.paraview.org/en/latest/Catalyst/blueprints.html#protocol-multimesh

In the specific case of mixed shape unstructured datasets, a new field "vtkCellSizes" is added to the input data object. At the moment, only vtkDataSet are supported.

◆ FillConduitNodeAssembly()

VTKIOCATALYSTCONDUIT_EXPORT void vtkDataObjectToConduit::FillConduitNodeAssembly ( vtkPartitionedDataSetCollection pdc,
conduit_cpp::Node &  conduit_node 
)

Append PDC assembly node to conduit channel.

The node provided is usually the parent of the "data" node given to FillConduitNode.