Documentation‎ > ‎User Manual‎ > ‎

Custom Filters

A Custom Filter is a macro that groups one or more filters and their properties. Custom filters appear in the Alphabetical list in the Filters menu.

ParaViewGeo allows you to create, import, export and delete custom filters.


Creating a Custom Filter

You can create a custom filter based on one or more filters and their properties, and this filter will appear in the Filters menu with the name you've assigned.

Using the available filters, apply the changes that you want the custom filter to apply. For example, on the Filters page there was an example to create a Vector Array from Scalar Arrays. You can create a custom filter that will perform that function.

Select your dataset in the Pipeline Browser, and then select the Calculator filter (in the Common sub-menu). Enter the formula "(iHat*Scalar1)+(jHat*Scalar2)+(kHat*Scalar3)" using the Scalar drop-down and apply the changes. Now select the Calculator filter in the pipeline if required and apply a Glyph filter (also from the Common sub-menu), choosing an arrow or line glyph, and making sure the Orient checkbox is checked.

Make sure the Calculator and Glyph filters are selected in the Pipeline Browser and select Tools > Create Custom Filter. Enter a name for the filter (such as "Vector Arrays from Scalars") and click Next. The following two pages allow you to select the inputs and outputs using the available drop-downs. Since the filters were already selected in the pipeline, the Calculator defaults as the input, and the Glyph as the output, so you can click Next on both screens.

You can now define the properties that will be available for your filter. Select one of the objects on the left side, and the settings associated with the property will appear in the Property drop-down. Select the property, and then clicking on the blue plus icon to add it to the grid above. Multiple properties can be added, one at a time. Click on Finish to create the custom filter.

The Custom Filter Manager appears to show which custom filters are present in the session. These filters appear under Filters > Alphabetical and are all represented with the same box shaped icon. You can now delete the calculator and glyph filters from the pipeline and apply the Vector Arrays from Scalars filter from the Filters menu to this and other datasets.



Managing Custom Filters

The Custom Filter Manager displays a list of all the custom filters that are available in the current session, and allows you ti import, export and remove custom filters. To display the manager, select Tools > Manage Custom Filters.

Custom filters can be imported and exported using the *.cpd or *.xml file formats. To import filters, click on import and select the custom filter file that contains the custom filters you want to include. To export filters, select one or more filters in the list and click on export, then enter a file name and choose the location where the file should be saved.

To delete filters from the session, highlight the filter(s) in the list and click the remove button. You will not be prompted to verify the deletion. Although the Undo button lights up, it cannot recover the filter that was deleted and you will have to re-create it if the filter was deleted accidentally.



Next Section Previous Section Return To
Plugins and the Plugin Wizard Lookmarks User Manual
Comments