Search found 10 matches

by dm_red
Sat Mar 18, 2017 9:18 am
Forum: Questions
Topic: RasterGridFilter
Replies: 1
Views: 870

RasterGridFilter

Hello, i have question about libs/qCC_io/RasterGridFilter.cpp line 165: CCVector3d B = origin + Pshift; //origin is 'top left' CCVector3d C = B; C.x += (rasterX - 1) * adfGeoTransform[1]; C.y += (rasterX - 1) * adfGeoTransform[4]; CCVector3d D = C; D.x += (rasterY - 1) * adfGeoTransform[2]; D.y += (...
by dm_red
Wed Feb 22, 2017 12:28 pm
Forum: Questions
Topic: ccCalibratedImage
Replies: 2
Views: 1140

Re: ccCalibratedImage

Do you mean you have an (ortho) image from which you know the dimensions? Because the ccCalibratedImage class was not meant to be used for this (but for images associated to a camera sensor). At least these are now represented by a simple 'ccImage' instance associated to a ccCameraSensor instance. ...
by dm_red
Tue Feb 21, 2017 10:30 am
Forum: Questions
Topic: ccCalibratedImage
Replies: 2
Views: 1140

ccCalibratedImage

Hello, what happen with ccCalibratedImage in later versions(>=2.6.0)?
I need to load a picture gridded by plugin.
How can i do it?
Thanks!
by dm_red
Tue Jan 31, 2017 7:24 pm
Forum: Questions
Topic: Zoom in jpg-image
Replies: 2
Views: 1160

Re: Zoom in jpg-image

daniel wrote:Nope because it's not a 3D object (it's overlayed and stretched over the 3D window).

However there's a trick to load an image as a texture plane (i.e. as a 3D objet):
http://www.danielgm.net/cc/forum/viewto ... 1641#p1641
Daniel, thank you for your help.
by dm_red
Tue Jan 31, 2017 1:40 pm
Forum: Questions
Topic: Zoom in jpg-image
Replies: 2
Views: 1160

Zoom in jpg-image

Hello, i load the jpg-image to CC, can i zoom in image in ccGLWindow?
by dm_red
Fri Jan 27, 2017 10:23 am
Forum: Questions
Topic: Own properties in plugin
Replies: 10
Views: 2848

Re: Own properties in plugin

Daniel, thank you for your answers!
by dm_red
Fri Jan 27, 2017 9:13 am
Forum: Questions
Topic: Own properties in plugin
Replies: 10
Views: 2848

Re: Own properties in plugin

Ah! It's because it's only displayed for point clouds, meshes, facets, polylines and sensors for now ;) I can extend it to groups if you wish? It would be great to extend it with custom Object(ccCustomHObject). So there won't be fields required by object type(like width, height etc in image) , only...
by dm_red
Fri Jan 27, 2017 8:38 am
Forum: Questions
Topic: Own properties in plugin
Replies: 10
Views: 2848

Re: Own properties in plugin

Hum, I don't think it's possible right now as everything is managed in ccPropertiesTreeDelegate which is a component of the CloudCompare project (and it's not aware of the plugins). The only thing you can do is add these pieces of information as 'meta-data' (in which case they will appear at the en...
by dm_red
Fri Jan 27, 2017 7:18 am
Forum: Questions
Topic: Own properties in plugin
Replies: 10
Views: 2848

Re: Own properties in plugin

Could you be more specific? I try to add object to database in my plugin, for example ccHObject *group = new ccHObject("GroupName"); m_app->addToDB(group); m_app->refreshAll(); In CloudCompare i see empty group with properties: -Name GroupName -Show name -Info Object ID:... -Current Displ...
by dm_red
Thu Jan 26, 2017 6:52 pm
Forum: Questions
Topic: Own properties in plugin
Replies: 10
Views: 2848

Own properties in plugin

Hello, how i can append own properties to object in my plugin?
With help m_app?