예제 #1
0
 /// <summary></summary>
 public virtual NxUserOutputStream getErrorStream()
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxUserOutputStream.GetClass(NxFoundationSDK_getErrorStream_INVOKE(ClassPointer, doSetFunctionPointers)));
 }
예제 #2
0
 /// <summary>Initializes cooking. </summary>
 /// <param name="allocator">The memory allocator to use. </param>
 /// <param name="outputStream">The output stream to use. </param>
 public virtual bool NxInitCooking(NxUserAllocator allocator, NxUserOutputStream outputStream)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxCookingInterface_NxInitCooking_INVOKE(ClassPointer, doSetFunctionPointers, (allocator != null ? allocator.ClassPointer : NullRef), (outputStream != null ? outputStream.ClassPointer : NullRef)));
 }
예제 #3
0
 /// <summary></summary>
 /// <param name="stream">Stream to report error on. </param>
 public virtual void setErrorStream(NxUserOutputStream stream)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     NxFoundationSDK_setErrorStream_INVOKE(ClassPointer, doSetFunctionPointers, (stream != null ? stream.ClassPointer : NullRef));
 }
예제 #4
0
 private bool NxCreatePMap_virtual(IntPtr pmap, IntPtr mesh, uint density, IntPtr outputStream)
 {
     return(NxCreatePMap(NxPMap.GetClass(pmap), NxTriangleMesh.GetClass(mesh), density, NxUserOutputStream.GetClass(outputStream)));
 }
예제 #5
0
 /// <summary>Creates a PMap from a triangle mesh. </summary>
 /// <param name="pmap">Used to store details of the created PMap. </param>
 /// <param name="mesh">Mesh to create PMap from. </param>
 /// <param name="density">The density(resolution) of the PMap. </param>
 /// <param name="outputStream">User supplied interface for reporting errors and displaying messages(see NxUserOutputStream)</param>
 public virtual bool NxCreatePMap(NxPMap pmap, NxTriangleMesh mesh, uint density, NxUserOutputStream outputStream)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxCookingInterface_NxCreatePMap_INVOKE(ClassPointer, doSetFunctionPointers, (pmap != null ? pmap.ClassPointer : NullRef), (mesh != null ? mesh.ClassPointer : NullRef), density, (outputStream != null ? outputStream.ClassPointer : NullRef)));
 }
예제 #6
0
 private bool NxInitCooking_virtual(IntPtr allocator, IntPtr outputStream)
 {
     return(NxInitCooking(NxUserAllocator.GetClass(allocator), NxUserOutputStream.GetClass(outputStream)));
 }
예제 #7
0
 private void setErrorStream_virtual(IntPtr stream)
 {
     setErrorStream(NxUserOutputStream.GetClass(stream));
 }