public new static vtkCompassRepresentation New()
        {
            vtkCompassRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkCompassRepresentation.vtkCompassRepresentation_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkCompassRepresentation = (vtkCompassRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkCompassRepresentation.Register(null);
                }
            }
            return(vtkCompassRepresentation);
        }
Esempio n. 3
0
 public void SetRepresentation(vtkCompassRepresentation r)
 {
     vtkCompassWidget.vtkCompassWidget_SetRepresentation_12(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }