public new vtkSplineRepresentation NewInstance()
        {
            vtkSplineRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkSplineRepresentation.vtkSplineRepresentation_NewInstance_31(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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