Lines Matching defs:filter

66         for(Filter filter : filters) {
67 dotFile.write(getDotName(" " + filter.getName()) + " [label=\"{");
70 Set<String> inputPorts = getInputPorts(filter, includeUnconnectedOptionalPorts);
82 dotFile.write(filter.getName());
85 Set<String> outputPorts = getOutputPorts(filter, includeUnconnectedOptionalPorts);
103 for(Filter filter : filters) {
104 Set<String> outputPorts = getOutputPorts(filter, includeUnconnectedOptionalPorts);
106 OutputPort source = filter.getConnectedOutputPort(portName);
117 String color = filter.getSignature().getOutputPortInfo(portName).isRequired()
122 " " + getDotName(filter.getName()) + ":" +
128 Set<String> inputPorts = getInputPorts(filter, includeUnconnectedOptionalPorts);
130 InputPort target = filter.getConnectedInputPort(portName);
135 String color = filter.getSignature().getInputPortInfo(portName).isRequired()
141 getDotName(filter.getName()) + ":" +
160 // Retrieve all input ports of a filter, including:
161 // unconnected ports (which can not be retrieved from the filter, only from the signature), and
165 static private Set<String> getInputPorts(Filter filter, boolean includeUnconnectedOptional) {
166 // add (connected) ports from filter
168 ports.addAll(filter.getConnectedInputPortMap().keySet());
171 HashMap<String, Signature.PortInfo> signaturePorts = filter.getSignature().getInputPorts();
182 // Retrieve all output ports of a filter (analogous to above function)
183 static private Set<String> getOutputPorts(Filter filter, boolean includeUnconnectedOptional) {
184 // add (connected) ports from filter
186 ports.addAll(filter.getConnectedOutputPortMap().keySet());
189 HashMap<String, Signature.PortInfo> signaturePorts = filter.getSignature().getOutputPorts();