- Timestamp:
- Dec 1, 2014 1:27:36 AM (6 years ago)
- Location:
- vtkvis/branches/1.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
vtkvis/branches/1.7
- Property svn:mergeinfo changed
/vtkvis/trunk merged: 4793
- Property svn:mergeinfo changed
-
vtkvis/branches/1.7/Renderer.cpp
r4780 r4800 80 80 _cameraMode(PERSPECTIVE), 81 81 _cameraAspect(ASPECT_NATIVE), 82 _computeOnlyVisibleBounds(true), 82 83 _imgCameraPlane(PLANE_XY), 83 84 _imgCameraOffset(0), … … 507 508 _axesAutoBounds[Y_AXIS] || 508 509 _axesAutoBounds[Z_AXIS]) { 509 collectBounds(newBounds, false);510 collectBounds(newBounds, _computeOnlyVisibleBounds); 510 511 } 511 512 } … … 742 743 double bounds[6]; 743 744 if (_cameraMode == IMAGE) { 744 collectBounds(bounds, false);745 collectBounds(bounds, _computeOnlyVisibleBounds); 745 746 } else 746 747 _cubeAxesActor->GetBounds(bounds); 747 748 748 749 double unscaledBounds[6]; 749 collectUnscaledBounds(unscaledBounds, false);750 collectUnscaledBounds(unscaledBounds, _computeOnlyVisibleBounds); 750 751 751 752 if (_axesRangeMode[X_AXIS] == RANGE_AUTO) { … … 2738 2739 //setViewAngle(_windowHeight); 2739 2740 //double bounds[6]; 2740 //collectBounds(bounds, false);2741 //collectBounds(bounds, _computeOnlyVisibleBounds); 2741 2742 //_renderer->ResetCamera(bounds); 2742 2743 if (_needsAxesReset) { … … 4269 4270 4270 4271 double bounds[6]; 4271 collectBounds(bounds, false);4272 collectBounds(bounds, _computeOnlyVisibleBounds); 4272 4273 bool twod = is2D(bounds, &_imgCameraPlane, &_imgCameraOffset); 4273 4274 if (twod) { … … 4493 4494 { 4494 4495 double bounds[6]; 4495 collectBounds(bounds, false);4496 collectBounds(bounds, _computeOnlyVisibleBounds); 4496 4497 4497 4498 switch (axis) { -
vtkvis/branches/1.7/Renderer.h
r4783 r4800 1076 1076 CameraMode _cameraMode; 1077 1077 Aspect _cameraAspect; 1078 bool _computeOnlyVisibleBounds; 1078 1079 double _imgWorldOrigin[2]; 1079 1080 double _imgWorldDims[2];
Note: See TracChangeset
for help on using the changeset viewer.