Vectorization and Visualization in Visualize

  1. FAQ

Is Auto LOD available on PointClouds? Is it possible to store pointclouds in VSF?

There are two types of Point Clouds in our Visualize API. Unstructured and RCS based. Auto LOD is available only for RCS based Point Cloud. Both types can be stored in VSF file. But if the unstructured point cloud stores all it's data in VSF, the RCS based point cloud stores only a link to the appropriate *.rcs file. Also there is ability to convert unstructured point cloud to the RCS based.

Can Visualize for Android be embedded into another Android app?

Yes, you can use source code of ODA Android Viewer for you own application.

Is the source code for all ODA Viewers available only in C++?

OdVisualizeFirstApp, OdVisualizeViewer, ODAViewer, OpenIFCViewer written on C++, WpfVisualizeViewer on C#, Android ODAViewer uses JAVA and C++ via JNI, IOSVisualizeViewer uses C++ with QML, iOS ODA Viewer uses Objective C and C++.

Is there the OdVisualizeViewer source code with full functionality available, but without the QT platform?

QT is used for the cross-plarform UI purposes. So if you are intereseted only in those part of code which are using Visualize SDK - yes you can investigate OdVisualizeViewer code. But certainly you will not able to build and debug it. Also we have a simplified Windows sample OdVisualizeFirstApp without Qt. It can be used for the first familiarity with Visualize SDK.

Do you have AR or VR examples in Visualize?

We have created a VR sample, but with AR no plans yet.

Do you have any plans to support AR or VR in Visualize?

We have created a VR sample, but with AR no plans yet.

How to work with different file formats (for example .dwg, .dgn, .rvt, .rfa, .nwd, .nwc and others) in Visualize SDK?

We use ODA Viewer and OdVisualizeViewer to open and visualize all file formats supported by ODA Products.

You need following archives: Kernel, Visualize and VisualizeQt, corresponding archives for the file formats (BimNv to visualize .nwc and .nwd files, BimRv for .rvt and .rfa and so on).

Unpack and extract them into the same folder; go to exe\vc15_amd64dll sub-folder and run OdVisualizeViewer, activate as described in the email (ODA Trial Subscription Approved).

These samples are based on QT libraries. Please, follow this instruction to setup the environment to be able to build and change these programs.

How to pick out the geometry which makes up the entities and highlight them and not the whole entity itself?

For highlighting the geometry inside the entity it is need to fill the OdTvSubItemPath item. Let's see simplest sample. You have entity with 'OdTvEntityId entId0' and you want to highlight geometry 'OdTvGeometryId geomId0'. Certainly this geometry should be part of the entity entId0. The 'OdTvSubItemPath' item should be constructed in this case as follows:

OdTvEntityIdsArray entityIdsArr;
entityIdsArr.append(entId0);
OdTvGeometryDataIdsArray geoDataIds;
geoDataIds.append(geomId0);
OdTvSubGeometryId subGeoDataId;
OdTvSubItemPath subItemPath(entityIdsArr, geoDataIds, subGeoDataId);

But there is one more thing. For performing selection/highlighting of the geometries or subgeometries (faces of shells for example) it is need to setup the appropriate selectability level for the concreate entity or whole model. The default selectability level assumes the selection and highlighting only for entities. Here is a sample how to set selectability for the whole model:

OdTvModelPtr pModel = modelId.openObject(OdTv::kForWrite);
OdTvSelectabilityDef selectability;
selectability.setGeometries(true);
pModel->setSelectability(selectability);