Пример #1
0
        public new static vtkAxesTransformRepresentation New()
        {
            vtkAxesTransformRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAxesTransformRepresentation.vtkAxesTransformRepresentation_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAxesTransformRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Пример #2
0
        public vtkAxesTransformRepresentation GetLineRepresentation()
        {
            vtkAxesTransformRepresentation vtkAxesTransformRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAxesTransformWidget.vtkAxesTransformWidget_GetLineRepresentation_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAxesTransformRepresentation = (vtkAxesTransformRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAxesTransformRepresentation.Register(null);
                }
            }
            return(vtkAxesTransformRepresentation);
        }
Пример #4
0
 public void SetRepresentation(vtkAxesTransformRepresentation r)
 {
     vtkAxesTransformWidget.vtkAxesTransformWidget_SetRepresentation_10(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }