예제 #1
0
        public new vtkRandomSequence NewInstance()
        {
            vtkRandomSequence result = null;
            uint   mteStatus         = 0u;
            uint   mteIndex          = 4294967295u;
            uint   rawRefCount       = 0u;
            IntPtr intPtr            = vtkRandomSequence.vtkRandomSequence_NewInstance_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkRandomSequence)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
예제 #2
0
        public vtkRandomSequence GetUniformSequence()
        {
            vtkRandomSequence vtkRandomSequence = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkBoxMuellerRandomSequence.vtkBoxMuellerRandomSequence_GetUniformSequence_01(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkRandomSequence = (vtkRandomSequence)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkRandomSequence.Register(null);
                }
            }
            return(vtkRandomSequence);
        }
예제 #3
0
        public new static vtkRandomSequence SafeDownCast(vtkObjectBase o)
        {
            vtkRandomSequence vtkRandomSequence = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkRandomSequence.vtkRandomSequence_SafeDownCast_06((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkRandomSequence = (vtkRandomSequence)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkRandomSequence.Register(null);
                }
            }
            return(vtkRandomSequence);
        }
예제 #4
0
 public void SetUniformSequence(vtkRandomSequence uniformSequence)
 {
     vtkBoxMuellerRandomSequence.vtkBoxMuellerRandomSequence_SetUniformSequence_09(base.GetCppThis(), (uniformSequence == null) ? default(HandleRef) : uniformSequence.GetCppThis());
 }