コード例 #1
0
        public new static vtkPlaneSource New()
        {
            vtkPlaneSource result      = null;
            uint           mteStatus   = 0u;
            uint           mteIndex    = 4294967295u;
            uint           rawRefCount = 0u;
            IntPtr         intPtr      = vtkPlaneSource.vtkPlaneSource_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPlaneSource = (vtkPlaneSource)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPlaneSource.Register(null);
                }
            }
            return(vtkPlaneSource);
        }
コード例 #3
0
 public void SetPlaneSource(vtkPlaneSource plane)
 {
     vtkSplineWidget.vtkSplineWidget_SetPlaneSource_45(base.GetCppThis(), (plane == null) ? default(HandleRef) : plane.GetCppThis());
 }
コード例 #4
0
 public void SetPlaneSource(vtkPlaneSource plane)
 {
     vtkSplineRepresentation.vtkSplineRepresentation_SetPlaneSource_46(base.GetCppThis(), (plane == null) ? default(HandleRef) : plane.GetCppThis());
 }