No subject
Mon Dec 15 09:51:36 EST 2008
method does indeed get sent identical values for
vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS() for both ports.
The reader according takes the values from port 0 when setting its
internal time step.
The situation gets rather "complicated" (ie, buggy) when any filters are
applied to the reader. As the simplest case, a clip-plane can be added,
which attaches itself automatically to port 0, since port 1 is empty (no
lagrangian data) in my test case. With this constellation, the reader's
RequestData() method now gets sent conflicting values for
UPDATE_TIME_STEPS. Port 0 (invisible since a clip-plane is attached),
always gets sent an UPDATE_TIME_STEPS =3D=3D PREVIOUS_UPDATE_TIME_STEPS,
while port 1 gets sent an UPDATE_TIME_STEPS that corresponds to what has
been selected in AnimationView or the time-selector spinbox.
If I make port 1 invisible, the behaviour changes and port 0 gets the
correct values for UPDATE_TIME_STEPS and port 1 get an out-of-date value
for UPDATE_TIME_STEPS!
It would be possible to add in some sort of kludge to guess which
UPDATE_TIME_STEPS on which port is likely to be correct, but there must
be a better way. I realize that there are not terribly many multi-port
readers in the VTK sources, but surely this behaviour cannot be
desirable. Is there a better way to avoid it?
Thanks,
/mark
This e-mail message and any attachments may contain =
legally privileged, confidential or proprietary Information, =
or information otherwise protected by law of EMCON =
Technologies, its affiliates, or third parties. This notice =
serves as marking of its "Confidential" status as defined =
in any confidentiality agreements concerning the sender =
and recipient. If you are not the intended recipient(s), =
or the employee or agent responsible for delivery of this =
message to the intended recipient(s), you are hereby =
notified that any dissemination, distribution or copying =
of this e-mail message is strictly prohibited. =
If you have received this message in error, please =
immediately notify the sender and delete this e-mail =
message from your computer.
=0D
More information about the ParaView
mailing list