Changeset 2194 for trunk/packages/vizservers/vtkvis/RpVtkRenderer.h
- Timestamp:
- Apr 1, 2011, 12:28:21 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/vtkvis/RpVtkRenderer.h
r2146 r2194 84 84 void setVisibility(const DataSetId& id, bool state); 85 85 86 void setUseCumulativeDataRange(bool state, bool onlyVisible = false); 87 86 88 // Render window 87 89 … … 96 98 void setCameraMode(CameraMode mode); 97 99 100 CameraMode getCameraMode() const; 101 98 102 void resetCamera(bool resetOrientation = true); 99 103 100 104 void setCameraZoomRegion(double x, double y, double width, double height); 101 105 106 void getCameraZoomRegion(double xywh[4]) const; 107 108 void getScreenWorldCoords(double xywh[4]) const; 109 102 110 void rotateCamera(double yaw, double pitch, double roll); 103 111 104 void panCamera(double x, double y );105 106 void zoomCamera(double z );112 void panCamera(double x, double y, bool absolute = true); 113 114 void zoomCamera(double z, bool absolute = true); 107 115 108 116 // Rendering an image … … 228 236 void collectBounds(double *bounds, bool onlyVisible); 229 237 230 void collectDataRanges(double *range );238 void collectDataRanges(double *range, bool onlyVisible); 231 239 232 240 void updateRanges(bool useCumulative); 241 242 void computeScreenWorldCoords(); 233 243 234 244 void storeCameraOrientation(); … … 242 252 double _imgWorldOrigin[2]; 243 253 double _imgWorldDims[2]; 254 double _screenWorldCoords[4]; 244 255 double _cameraPos[3]; 245 256 double _cameraFocalPoint[3]; 246 257 double _cameraUp[3]; 258 double _cameraZoomRatio; 259 double _cameraPan[2]; 247 260 float _bgColor[3]; 248 bool _useCumulativeRanges; 261 bool _useCumulativeRange; 262 bool _cumulativeRangeOnlyVisible; 249 263 double _cumulativeDataRange[2]; 250 264
Note: See TracChangeset
for help on using the changeset viewer.