// ----------------------------------------------------------------------------- // // ----------------------------------------------------------------------------- void CopyAttributeArray::readFilterParameters(AbstractFilterParametersReader* reader, int index) { reader->openFilterGroup(this, index); setSelectedArrayPath( reader->readDataArrayPath("SelectedArrayPath", getSelectedArrayPath()) ); setNewArrayName( reader->readString( "NewArrayName", getNewArrayName() ) ); reader->closeFilterGroup(); }
// ----------------------------------------------------------------------------- // // ----------------------------------------------------------------------------- void ConditionalSetValue::readFilterParameters(AbstractFilterParametersReader* reader, int index) { reader->openFilterGroup(this, index); setConditionalArrayPath(reader->readDataArrayPath("ConditionalArrayPath", getConditionalArrayPath())); setSelectedArrayPath(reader->readDataArrayPath("SelectedArrayPath", getSelectedArrayPath())); setReplaceValue(reader->readValue("ReplaceValue", getReplaceValue())); reader->closeFilterGroup(); }
// ----------------------------------------------------------------------------- // // ----------------------------------------------------------------------------- void RemoveComponentFromArray::readFilterParameters(AbstractFilterParametersReader* reader, int index) { reader->openFilterGroup(this, index); setNewArrayArrayName(reader->readString("NewArrayArrayName", getNewArrayArrayName() ) ); setNewArrayArrayName(reader->readString("ReducedArrayArrayName", getReducedArrayArrayName() ) ); setCompNumber(reader->readValue("CompNumber", getCompNumber() ) ); setSelectedArrayPath( reader->readDataArrayPath( "SelectedArrayPath", getSelectedArrayPath() ) ); setSaveRemovedComponent(reader->readValue("SaveRemovedComponent", getSaveRemovedComponent())); reader->closeFilterGroup(); }