Adds a listener to an event type.
When an event of the type pType fires, the callback pListener will be called. This function
returns a unique string id that may be used in removeEventListenerById to allow simple
listener removal.
It is possible to add an object that will be included in the callback to avoid creating too many closures.
The id of the inserted callback (actually an UUID).
Adds a listener to an event type.
When an event of the type pType fires, the callback pListener will be called. This function
returns a unique string id that may be used in removeEventListenerById to allow simple
listener removal.
The id of the inserted callback (actually an UUID).
Gets rid of this object.
After this call, this object can no longer be used.
If the object is an InfiniteObjectDispatcherInterface, then the ObjectDisposed signal is emitted.
Further uses of the object (with the exception of isDisposed and getInfiniteObjectType) will log a message with LL_UsingDisposedObject.
Gets the operator to apply with this FilterItemInterface and its closest enabled predecessor in its parent container.
The FilterItemInterface operator of the first enabled FilterItemInterface in a parent list (FilterSolverInterface, FilterSetInterface, FilterCompoundInterface) is always ignored, but a warning is outputted in the console when the FilterOperator is different that FO_UNION.
A FilterItemInterface has the FO_UNION operator by default.
The operator to combine this FilterItemInterface and its first enabled predecessor.
Tells the type of the given interface.
The type of the given interface.
Gets the identifier of the parent container that contains this FilterItemInterface (getFilterId()).
Such a container may be a FilterSolverInterface, FilterSetInterface or a FilterCompoundInterface. Returns an empty string if the FilterItemInterface is not included in a parent container.
The identifier of the parent container.
Gets a copy of the list of part instance ids that were set by setPartInstanceList.
The list of part instance ids to elect.
Tells if the EventDispatcher has such a callback registered for the given event type.
true if such a listener is installed for the given type of event.
Tells if this object has been gotten rid off.
true if dispose has been called on this object.
Tells if the FilterItemInterface is enabled.
If disabled, this FilterItemInterface is completely ignored during all the computations (the behavior is the same as if it had not been created).
A FilterItemInterface is enabled by default.
true if the FilterItemInterface is enabled.
Tells if the FilterItemInterface is "inverted".
When "inverted", a FilterItemInterface elects all the part instances that were not selected if it was not inverted.
A FilterItemInterface is not "inverted" by default.
true if such a FilterItemInterface is "inverted".
Removes a listener from an event type.
If no such listener is found, then the function returns false and does nothing. You must use the exact parameters that were used in addEventListener to actually remove the listener.
true if the callback was removed else false.
The listener function that gets removed.
The listener object that was used when addEventListener was called.
Removes a listener from an event type.
If no such listener is found, then the function returns false and does nothing. You must use the exact parameters that were used in addEventListener to actually remove the listener.
true if the callback was removed else false.
The listener function that gets removed.
Removes a listener by its id.
If no such listener is found, then the function returns false and does nothing. You must use the return value of addEventListener to actually remove the listener.
true if the callback was removed else false.
Sets the FilterItemInterface enabled/disabled status.
If disabled, this FilterItemInterface is completely ignored during all the computations (the behavior is the same as if it had not been created). Use addEventListener on the event FilterEnabledChanged to know when the FilterItemInterface has changed its enabled status.
A FilterItemInterface is enabled by default.
Sets the content of the FilterItemInterface from a former call to getFilterData.
Use addEventListener on the event FilterDataChanged to know when the FilterItemInterface internal data changed.
true if the data is set.
Sets the operator to apply with this FilterItemInterface and its closest enabled predecessor in its parent container.
The FilterItemInterface operator of the first enabled FilterItemInterface in a parent list (FilterSolverInterface, FilterSetInterface, FilterCompoundInterface) is always ignored, but a warning is outputted in the console when the FilterOperator is different that FO_UNION. Use addEventListener on the event FilterInvertedChanged to know when the FilterItemInterface operator changed.
A FilterItemInterface has the FO_UNION operator by default.
Sets the "inverted" status of the FilterItemInterface.
When "inverted", a FilterItemInterface elects all the part instances that were not selected if it was not inverted.
Use addEventListener on the event FilterInvertedChanged
to know when the FilterItemInterface has changed its "inverted" status.
A FilterItemInterface is not "inverted" by default.
Sets the list of part instances to elect.
As a list of part instance ids is local to a build, and is VERY likely to change
between two builds of the same project, the buildid of the build to use must be set to avoid filtering on an incorrect
build. Using a pBuildId that does not correspond to the current open build leads to a no-op and returns false.
Use addEventListener on the event FilterDataChanged to know when the FilterPartInstanceListInterface data changed.
Warning : There is no validation that the input values are correct (i.e. integers strictly superior to 1 and inferior
to max part instance id getMaximumPartInstanceId), or that the part instances list is the
same as previously. The invalid values will be discarded, and setting the same values as previously will trigger a recompute
on the server, and the function will return true.
true if pBuildId is equal to the 3djuump build actually open in the datasession.
part instances to elect.
The FilterPartInstanceListInterface interface is a FilterItemInterface to elect
part instancesfrom theirpart instance ids.The
part instancesare known by theirpart instance ids(these are NOT theirgeometric instance ids).Such a FilterItemInterface may be created by first determining the
part instance idswith a FilterSolverInterface, asking to retrieve theirpart instance ids(setRetrievePartInstanceIds) and then create a FilterPartInstanceListInterface with the given ids.Warning : using such a FilterItemInterface is very risky since
part instance idsare recomputed at each new 3djuump Infinite build process. That means that creating such a FilterItemInterface on a build will be invalidated if a new build is done on your project. It is highly recommended to create your FilterItemInterfaces based on geometric values and metadata rather than theirpart instance id. Use extreme caution when using this type of FilterItemInterface and be sure you know what you are doing. Moreover, such a FilterItemInterface may consume more memory than a combination of other FilterItemInterfaces if a large number ofpart instance idis inside the FilterPartInstanceListInterface.The FilterPartInstanceListInterface interface is created through the createFilterPartInstanceList.
The FilterPartInstanceListInterface has the type FT_PARTINSTANCE (getFilterType).
The FilterPartInstanceListInterface has a depth contribution of 1.
Please refer to Available Filters for a list of other [FilterItemInterfaces](FilterItemInterface.html).
See