Commit Graph

142 Commits

Author SHA1 Message Date
ozantonkal
bb057491ea create camera from projection matrix (used for getCamera in viz) 2013-08-08 12:14:27 +02:00
ozantonkal
71dc5f8291 simulate real cameras by working around vtkUserTransform to set projection matrix 2013-08-07 16:20:23 +02:00
ozantonkal
422b967e9a fix computeProjectionMatrix in Camera class, also check if there is principal point defined 2013-08-07 15:52:24 +02:00
ozantonkal
5335489daa viz getWindowSize, setWindowSize 2013-08-07 09:28:39 +02:00
ozantonkal
731a931c0c field of views are in radians 2013-08-05 19:35:20 +02:00
ozantonkal
32985aa724 fix camera constructor, add tentative KinectCamera method 2013-08-05 19:22:43 +02:00
ozantonkal
9c20e77013 fix conversion functions to use appropriate vtk function 2013-08-05 18:39:36 +02:00
ozantonkal
f8ad3c0204 fix field of view computation in setWindowSize 2013-08-05 16:06:02 +02:00
ozantonkal
119d97f1f6 remove old camera, rename new camera 2013-08-05 15:37:08 +02:00
ozantonkal
f060eee5a5 fix window_size setter, remove camera related old methods from viz3d 2013-08-05 15:10:17 +02:00
ozantonkal
439ba98e0a initial implementation of projection matrix, 3D to window coordinates, window coordinates to 3D ray (not yet tested) 2013-08-05 13:01:21 +02:00
ozantonkal
0bb89e767a fix field of view formula in camera class, implement get camera 2013-08-04 17:01:41 +02:00
ozantonkal
f445f76213 initial setCamera implementation 2013-08-03 16:33:11 +02:00
ozantonkal
4953786de1 remove boost include (caused by Kdevelop autocomplete) 2013-08-03 15:42:10 +02:00
ozantonkal
e4e9ed876f spheres trajectory widget implementation 2013-08-03 15:40:36 +02:00
ozantonkal
a76cc9ef88 initial camera implementation (camera2), fix bug (zeros method) 2013-08-03 15:24:15 +02:00
ozantonkal
8fa6b6a6ef initial setViewerPose implementation 2013-08-03 15:24:15 +02:00
Anatoly Baksheev
54774f6d3b updated license header 2013-08-02 13:45:43 +04:00
Anatoly Baksheev
69e66d7bb5 fixed little bug in makeCameraPose 2013-08-02 13:37:15 +04:00
ozantonkal
f5816c883f fix setting color of 3D objects 2013-07-29 15:10:48 +02:00
ozantonkal
b64e6ccc6c static function for appending clouds in cloud collection widget 2013-07-29 15:06:05 +02:00
ozantonkal
42266b04a5 makeCameraPose implementation 2013-07-29 12:25:46 +02:00
ozantonkal
250dac5b71 fix: trajectory path is now relative to the global frame 2013-07-29 11:01:59 +02:00
ozantonkal
3fe5984e46 cloud collection widget implementation 2013-07-26 16:55:03 +02:00
ozantonkal
edfad34d39 trajectory with spheres and lines (based on the code snippet in gdocs) 2013-07-26 14:50:11 +02:00
ozantonkal
b661d72252 CameraPositionWidget: a workaround for setting frustum color in the presence of an image 2013-07-25 16:47:30 +02:00
ozantonkal
ec756afe87 trajectorywidget display modes are combined with & instead of | 2013-07-25 16:08:23 +02:00
ozantonkal
64cdd82146 trajectory widget constructor with field of view 2013-07-25 15:08:45 +02:00
ozantonkal
7d458e852e trajectory widget display options: display path, display frames, display both 2013-07-25 10:56:54 +02:00
ozantonkal
aa2594c06c fix aspect_ratio computation from fovs, add casting for camerapositionwidget, trajectorywidget 2013-07-25 10:23:24 +02:00
ozantonkal
769512db2d move image copying structure to viz3d_impl: ConvertToVtkImage 2013-07-24 10:32:21 +02:00
ozantonkal
952029a47b GridImpl structure to shorten grid widget implementation 2013-07-24 10:13:01 +02:00
ozantonkal
6e5a712f6e Gridwidget with plane coefficients 2013-07-24 10:02:33 +02:00
ozantonkal
40b50755d3 add const keywords to gridwidget constructor 2013-07-23 15:46:14 +02:00
ozantonkal
4d70671231 intial implementation of frustum + image (the color of the frustum is currently dependent on the first pixel of the image) 2013-07-23 15:43:23 +02:00
ozantonkal
f9938da67d image 3d widget with position, normal, up_vector 2013-07-22 17:18:19 +02:00
ozantonkal
d0bd344a42 image 3d widget use texture instead of imageactor for more flexibility (such as resizing) 2013-07-22 16:48:17 +02:00
ozantonkal
27f5cd2afd overlay image widget constructor with Rect 2013-07-22 16:12:22 +02:00
ozantonkal
540f9a67f3 remove unnecessary declaration 2013-07-22 15:14:33 +02:00
ozantonkal
c0f44ca421 shorten Trajectory widget implementation 2013-07-22 15:03:28 +02:00
ozantonkal
5af739dfc1 plane widget size fix 2013-07-22 14:34:44 +02:00
ozantonkal
16c8c98895 trajectory widget with frustums 2013-07-22 14:11:06 +02:00
ozantonkal
f3b228c91f initial implementation of trajectory widget 2013-07-22 12:53:19 +02:00
ozantonkal
13a2516a6a avoid memory leak in mesh widget 2013-07-22 09:11:16 +02:00
ozantonkal
0a3691d6ac CameraPositionWidget: constructor with Vec2f fov (tentative) 2013-07-19 18:30:12 +02:00
ozantonkal
2294eb82c9 fix aspect_ratio in camera position widget, add scale parameter (tentative implementation of scale) 2013-07-18 17:46:08 +02:00
ozantonkal
9d3f3c66da camera position widget: constructor with no parameter, constructor with intrinsic matrix for visualizing frustum 2013-07-18 17:08:58 +02:00
ozantonkal
3260404fdf initial CameraPositionWidget implementation using eye, look_at, up_vector 2013-07-18 10:39:34 +02:00
ozantonkal
40e47e6f3f Image widgets implementation, GridWidget: vtkExtractEdges instead of Wireframe 2013-07-17 11:35:14 +02:00
ozantonkal
769eba7535 cube wire_frame fix using vtkOutlineSource 2013-07-16 09:06:14 +02:00