VTK  9.1.0
vtkVariantExtract Class Reference

Performs an explicit conversion from a vtkVariant to the type that it contains. More...

#include <vtkVariantExtract.h>

Detailed Description

Performs an explicit conversion from a vtkVariant to the type that it contains.

Implicit conversions are not performed, so casting a vtkVariant containing one type (e.g. double) to a different type (e.g. string) will not convert between types.

Callers should use the 'valid' flag to verify whether the extraction succeeded.

Thanks:
Developed by Timothy M. Shead (tshea.nosp@m.d@sa.nosp@m.ndia..nosp@m.gov) at Sandia National Laboratories.

The documentation for this class was generated from the following file: