Skip to content

calgaryscientific/pureweb-cpp-samples

Repository files navigation

PureWeb sample C++ services

This repository contains sample C++ services created using the PureWeb software development kit (SDK). The PureWeb SDK combines remote visualization, interactive 3D, and synchronous distributed collaboration technologies, bringing the power of highly sophisticated graphics applications to the mobile world. More information on the SDK is available on our developer site.

The SDK provides APIs for developers to create their own applications, and the samples in this repository are intended both as a learning tool and a quick start point. They are simple yet functional applications that illustrate all the key fundamentals of the APIs. There are two samples available:

  • Scribble: a simple canvas which allows users to draw, change pen color, and erase drawings; the collaboration feature enables multiple users to interact simultaneously with the canvas. Scribble is our main sample application, and the one that we recommend for developers who are new to the SDK. The "Scribble" folder contains the sample service for Windows, while the "ScribbleAppQt" folder contains the sample service for Linux.
  • DDx: a web interface used internally by the PureWeb development team to exercise and test the features of the APIs. You may find this sample code useful as additional examples of the API’s core methods. Note, however, that we do not provide specific instructions on how to build and deploy the DDx client.

There are three main components to solutions built using the PureWeb SDK, and you must install all three in order to have a working application:

  • a service application that handles all the heavy computation, data processing and image rendering (such as the sample services in this repository); service applications can reside on a remote server
  • a client interface that resides on end user devices, such as the ones in the repository for the HTML5 sample clients
  • the PureWeb server, a middle-tier layer based on Tomcat technology, for which you must obtain a license. You can obtain a free trial license by contacting our support team at [email protected]

Because of the interdependency of these components, they must be installed together, in a particular order that allows the creation of the required directory structure. For complete instructions, refer to the PureWeb documentation.

Note that the rake files in this repository will not function correctly and should not be used to build the samples.

The samples are provided under the Apache 2 license; see the LICENSE file at the root of this repository for the full text.