コード例 #1
0
        public new static vtkAnimationCue New()
        {
            vtkAnimationCue result      = null;
            uint            mteStatus   = 0u;
            uint            mteIndex    = 4294967295u;
            uint            rawRefCount = 0u;
            IntPtr          intPtr      = vtkAnimationCue.vtkAnimationCue_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAnimationCue = (vtkAnimationCue)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAnimationCue.Register(null);
                }
            }
            return(vtkAnimationCue);
        }
コード例 #3
0
 public void AddCue(vtkAnimationCue cue)
 {
     vtkAnimationScene.vtkAnimationScene_AddCue_01(base.GetCppThis(), (cue == null) ? default(HandleRef) : cue.GetCppThis());
 }
コード例 #4
0
 public void RemoveCue(vtkAnimationCue cue)
 {
     vtkAnimationScene.vtkAnimationScene_RemoveCue_14(base.GetCppThis(), (cue == null) ? default(HandleRef) : cue.GetCppThis());
 }