VTK  9.0.20210227
vtkVariantExtract Class Reference

#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.

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: