1.0 New Features

2.0 Enhancements

3.0 Functional Changes

4.0 Supported Platforms



1.0 New Features

No new features have been added to HOOPS/Java for this release.


2.0 Enhancements

Minor Version 19.1

Functions that return a pointer to an array, along with array member variables, are now accessible in Java.

Methods in the C++ classes which returned arrays (as a return type) now return the array through a parameter in Java

Example of old signature:

public float[] GetWorldBounding();

New signature:

public GetWorldBounding(float[] values, int count);

New sample usage:

// tk is a valid BstreamFileToolkit
float[] bounds = new float[6];
tk.GetWorldBounding(bounds, 6);


Array member variables now return the array via a get_[variable name] method and are read-only

(It should be noted that methods are generated in the Java wrappers to set/get member variables)

Example of old signature:

public HPoint getPoint_list();

New signature:

public get_point_list(HPoint[] values, int count);

New sample usage:

// shell is valid HShell
// values is valid HPoint[] array
shell.get_point_list(values, values.length);


3.0 Functional Changes

Show_Net and Show_One_Net Variants

The Show_Net and Show_One_Net functions are no longer supported. You should review your code and utilize a PShow variant.

K, Q and QK Variants

The K, Q and QK Variants are no longer supported. If you are using the K variant of a function to obtain a HOOPS key, you can now use the original version of the function because it has been modified to return a key. For example, if you original code to open a segment looked like this:

long key = HJ.KOpen_Segment("");

You can now do this:

long key = HJ.Open_Segment("");

4.0 Supported Platforms

The HOOPS/Java integration is supported under the J2SE Development Kit 6.0 (JDK 6.0), on the Windows 32-bit and 64-bit platforms with Microsoft Visual Studio 2008(VC9) and Visual Studio Version 2010(VC10). It is also supported on the 32-bit platforms of Linux, Solaris Sparc and Intel.