Esempio n. 1
0
        public new static vtkGeoAlignedImageRepresentation New()
        {
            vtkGeoAlignedImageRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkGeoAlignedImageRepresentation.vtkGeoAlignedImageRepresentation_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkGeoAlignedImageRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Esempio n. 2
0
        public vtkGeoAlignedImageRepresentation AddDefaultImageRepresentation(vtkImageData image)
        {
            vtkGeoAlignedImageRepresentation vtkGeoAlignedImageRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkGeoView.vtkGeoView_AddDefaultImageRepresentation_01(base.GetCppThis(), (image == null) ? default(HandleRef) : image.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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