void SiloDumpViewerPluginInfo::InitializeOperatorAtts(AttributeSubject *atts, const ViewerPlot *plot, const bool fromDefault) { if (fromDefault) *(SiloDumpAttributes*)atts = *defaultAtts; else *(SiloDumpAttributes*)atts = *clientAtts; UpdateOperatorAtts(atts, plot); }
void SphereSliceViewerEnginePluginInfo::InitializeOperatorAtts(AttributeSubject *atts, const avtPlotMetaData &plot, const bool fromDefault) { if (fromDefault) *(SphereSliceAttributes*)atts = *defaultAtts; else *(SphereSliceAttributes*)atts = *clientAtts; UpdateOperatorAtts(atts, plot); }