View crop -> transaction-> Scope Box , in zero touch node .

View crop -> transaction-> Scope Box , in zero touch node .

MYS-JonathanT
Participant Participant
248 Views
0 Replies
Message 1 of 1

View crop -> transaction-> Scope Box , in zero touch node .

MYS-JonathanT
Participant
Participant

Hi everyone,

I am trying to find the overlap of a view currently cropped and it's effective crop when a scope box is applied.

I am writing a node that accepts a view and a scope box and then it does the following :

  1. - check that view crop is active
  2. - get the ViewCropRegionShapeManager
  3. - check that NumberOfSplitRegions == 1
  4. - GetCropShape >> get the curves 
  5. -  ensure in transaction 
  6. - set the view VIEWER_VOLUME_OF_INTEREST_CROP to the scope box
  7. - transaction done 
  8. - get the ViewCropRegionShapeManager
  9. - GetCropShape >> get the curves 

 

It seems that I am getting the same curves in 4 and 9 , although the view has changed to be cropped by the Scope Box, is that the expected behavior ? If it is - how can I extract the view Scope Box curves ? 

Thanks Jonathan.  

 

 

0 Likes
249 Views
0 Replies
Replies (0)