Changeset 3583
- Timestamp:
- Mar 25, 2013, 6:00:23 PM (12 years ago)
- Location:
- trunk/packages/vizservers/vtkvis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/vtkvis/vtkRpCubeAxesActor.cpp
r3549 r3583 2545 2545 { 2546 2546 // Loop over points and find the closest point to the camera 2547 double min = VTK_ LARGE_FLOAT;2547 double min = VTK_FLOAT_MAX; 2548 2548 int idx = 0; 2549 2549 for (int i=0; i < 8; i++) … … 2562 2562 { 2563 2563 // Loop over points and find the furthest point from the camera 2564 double max = -VTK_ LARGE_FLOAT;2564 double max = -VTK_FLOAT_MAX; 2565 2565 int idx = 0; 2566 2566 for (int i=0; i < 8; i++) … … 2587 2587 2588 2588 // Find distance to origin 2589 double d2Min = VTK_ LARGE_FLOAT;2589 double d2Min = VTK_FLOAT_MAX; 2590 2590 for (i=0; i < 8; i++) 2591 2591 { … … 2600 2600 // find minimum slope point connected to closest point and on 2601 2601 // right side (in projected coordinates). This is the first edge. 2602 minSlope = VTK_ LARGE_FLOAT;2602 minSlope = VTK_FLOAT_MAX; 2603 2603 for (xIdx=0, i=0; i<3; i++) 2604 2604 { -
trunk/packages/vizservers/vtkvis/vtkRpCubeAxesActor.h
r3479 r3583 199 199 // many renders) the axes can switch position (jump from one axes 200 200 // to another). 201 vtkSetClampMacro(Inertia, int, 1, VTK_ LARGE_INTEGER);201 vtkSetClampMacro(Inertia, int, 1, VTK_INT_MAX); 202 202 vtkGetMacro(Inertia, int); 203 203
Note: See TracChangeset
for help on using the changeset viewer.