vtkbool
                                
                                 vtkbool copied to clipboard
                                
                                    vtkbool copied to clipboard
                            
                            
                            
                        Compute boolean operation only once for input polydatas that move? Would it achieve very quick subsequent updates?
As far as I know, believing that the CollisionDetection filter computes the OBBTree only once and then the code can update the matrices to check if input polydatas collide later, would it be possible to recompute boolean operations on the fly by modifying a matrix I can see on vtkbool code? Currenly that matrix is hard-coded to the identity
Thanks a lot Mauro
I never knew what that matrix was used for. Do you have a suggestion, what I should change?
I never knew what that matrix was used for. Do you have a suggestion, what I should change?
Maybe:
- add these members to vtkPolyDataContactFilter class
- add:
- Instead of VTK's ComputeCollisions you have vtkbool's InterOBBNodes <-- This is the hard stuff I think. Because you have to go to your low level code and do a matrix multiplication before the current way vector operations are calculated.
- Add transforms handling (like here) on vtkPolyDataContactFilter::RequestData
- Update GetMTime, PrintSelf
Please let me know if you would give it a try and share how it goes? :)