All public logs
From KitwarePublic
Jump to navigationJump to search
Combined display of all available logs of KitwarePublic. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 03:27, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/Utilities/Box (content was: "==Box.cxx== <source lang="cpp"> #include <vtkSmartPointer.h> #include <vtkBox.h> int main(int, char *[]) { // Define a box double bounds[6] = {-1,1,-1,1,-1,1}; // Define a ray double rayOrigin[3] = {-5.0, 0, 0}; double rayDirection[3] = {1.0, 0, 0}; double intersection[3]; double t; char hit = vtkBox::IntersectBox(bounds, rayOrigin, rayDirection, intersection, t); if(!hit) { std::cout << "Not hit!" << std::endl; } else { // Intersect...")