Esempio n. 1
0
        public new vtkOpenGLGlyph3DMapper NewInstance()
        {
            vtkOpenGLGlyph3DMapper result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkOpenGLGlyph3DMapper.vtkOpenGLGlyph3DMapper_NewInstance_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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