View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0014922 | VTKEdge | (No Category) | public | 2014-05-19 16:50 | 2015-01-23 03:41 | ||||||||
Reporter | Veysel Bekir Macit | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | 6.2.1 | OS | Windows | OS Version | 7 | ||||||||
Summary | 0014922: vtkClipPolyData clips data wrongly with box clip function | ||||||||||||
Description | the code I wrote: cone->SetResolution(30); iBox->SetBounds(-1,1,-1,1,0,1); cube->SetBounds(iBox->GetBounds()); trans->RotateX(60); transF->SetTransform(trans); transF->SetInputConnection(cone->GetOutputPort()); transF->Update(); pdClip->SetInputConnection(transF->GetOutputPort()); pdClip->SetClipFunction(iBox); // pdClip->GenerateClippedOutputOn(); pdClip->InsideOutOn(); and I got the image I have marked how vtkClipPolyData clips cone wrongly. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | vtkClipPolyData.jpg [^] (50,095 bytes) 2014-05-19 16:50
| ||||||||||||
Relationships | |
Relationships |
Notes | |
(0035900) Veysel Bekir Macit (reporter) 2014-05-19 16:53 |
sorry I have rotate Y axis not X. it should have been trans->RotateY(60); |
(0037784) edice (reporter) 2015-01-23 03:41 |
Could the problem have something to do with this comment in the vtkBox.cxx code (an older version of the code, not sure if its still the same). // Evaluate box equation. This differs from the similar vtkPlanes // (with six planes) because of the "rounded" nature of the corners. double vtkBox::EvaluateFunction(double x[3]) What would be "rounded" about the corners? |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-05-19 16:50 | Veysel Bekir Macit | New Issue | |
2014-05-19 16:50 | Veysel Bekir Macit | File Added: vtkClipPolyData.jpg | |
2014-05-19 16:53 | Veysel Bekir Macit | Note Added: 0035900 | |
2015-01-23 03:41 | edice | Note Added: 0037784 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |