public new static vtkPointHandleRepresentation3D SafeDownCast(vtkObjectBase o)
        {
            vtkPointHandleRepresentation3D vtkPointHandleRepresentation3D = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPointHandleRepresentation3D.vtkPointHandleRepresentation3D_SafeDownCast_29((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPointHandleRepresentation3D = (vtkPointHandleRepresentation3D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPointHandleRepresentation3D.Register(null);
                }
            }
            return(vtkPointHandleRepresentation3D);
        }
Esempio n. 2
0
        public virtual vtkPointHandleRepresentation3D GetPoint2Representation()
        {
            vtkPointHandleRepresentation3D vtkPointHandleRepresentation3D = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkLineRepresentation.vtkLineRepresentation_GetPoint2Representation_26(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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