Beispiel #1
0
        public new vtkLocator NewInstance()
        {
            vtkLocator result      = null;
            uint       mteStatus   = 0u;
            uint       mteIndex    = 4294967295u;
            uint       rawRefCount = 0u;
            IntPtr     intPtr      = vtkLocator.vtkLocator_NewInstance_19(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkLocator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Beispiel #2
0
        public virtual vtkLocator GetSpatialRepresentation()
        {
            vtkLocator vtkLocator  = null;
            uint       mteStatus   = 0u;
            uint       mteIndex    = 4294967295u;
            uint       rawRefCount = 0u;
            IntPtr     intPtr      = vtkSpatialRepresentationFilter.vtkSpatialRepresentationFilter_GetSpatialRepresentation_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkLocator = (vtkLocator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkLocator.Register(null);
                }
            }
            return(vtkLocator);
        }
Beispiel #4
0
 public virtual void SetSpatialRepresentation(vtkLocator arg0)
 {
     vtkSpatialRepresentationFilter.vtkSpatialRepresentationFilter_SetSpatialRepresentation_13(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }