First time here? Check out the FAQ!
answered 2017-02-22 01:53:25 -0600
please use the >> operator for reading from a filenode, don't try to cast it:
>>
node["mat"] >> mat; node["loc"] >> loc; node["color"] >> color;