Example #1
0
        public new vtkAffineRepresentation NewInstance()
        {
            vtkAffineRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAffineRepresentation.vtkAffineRepresentation_NewInstance_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAffineRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Example #2
0
        public vtkAffineRepresentation GetAffineRepresentation()
        {
            vtkAffineRepresentation vtkAffineRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAffineWidget.vtkAffineWidget_GetAffineRepresentation_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAffineRepresentation = (vtkAffineRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAffineRepresentation.Register(null);
                }
            }
            return(vtkAffineRepresentation);
        }
Example #4
0
 public void SetRepresentation(vtkAffineRepresentation r)
 {
     vtkAffineWidget.vtkAffineWidget_SetRepresentation_09(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }