public new static vtkAssembly New()
        {
            vtkAssembly result      = null;
            uint        mteStatus   = 0u;
            uint        mteIndex    = 4294967295u;
            uint        rawRefCount = 0u;
            IntPtr      intPtr      = vtkAssembly.vtkAssembly_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAssembly)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Exemple #2
0
        public virtual vtkAssembly GetAssembly()
        {
            vtkAssembly vtkAssembly = null;
            uint        mteStatus   = 0u;
            uint        mteIndex    = 4294967295u;
            uint        rawRefCount = 0u;
            IntPtr      intPtr      = vtkAbstractPropPicker.vtkAbstractPropPicker_GetAssembly_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAssembly = (vtkAssembly)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAssembly.Register(null);
                }
            }
            return(vtkAssembly);
        }
 public void AddActors(vtkRenderer ren, vtkAssembly assembly, vtkCollection imageReps)
 {
     vtkGeoTerrain.vtkGeoTerrain_AddActors_01(base.GetCppThis(), (ren == null) ? default(HandleRef) : ren.GetCppThis(), (assembly == null) ? default(HandleRef) : assembly.GetCppThis(), (imageReps == null) ? default(HandleRef) : imageReps.GetCppThis());
 }