Exemple #1
0
        public new static vtkRTAnalyticSource New()
        {
            vtkRTAnalyticSource result = null;
            uint   mteStatus           = 0u;
            uint   mteIndex            = 4294967295u;
            uint   rawRefCount         = 0u;
            IntPtr intPtr = vtkRTAnalyticSource.vtkRTAnalyticSource_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkRTAnalyticSource)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Exemple #2
0
        public new static vtkRTAnalyticSource SafeDownCast(vtkObjectBase o)
        {
            vtkRTAnalyticSource vtkRTAnalyticSource = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkRTAnalyticSource.vtkRTAnalyticSource_SafeDownCast_20((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkRTAnalyticSource = (vtkRTAnalyticSource)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkRTAnalyticSource.Register(null);
                }
            }
            return(vtkRTAnalyticSource);
        }