viewer

Forge Viewer fails to display edges

此生再无相见时 提交于 2019-12-13 03:16:32
问题 I used https://github.com/Autodesk-Forge/viewer-react-express-headless as a starting point for my Forge React application and I modified viewer = new Autodesk.Viewing.Viewer3D(viewerElement, {}); to viewer = new Autodesk.Viewing.Private.GuiViewer3D(viewerElement, {}); to change it back from a headless to a classic viewer. I can load my model but it appears without edges and when I go to Settings -> Performance -> Display edges it is off by default, and when I try to set it back the edges stay

C# - Making a BackgroundImage update in real time while editing it in other programs

徘徊边缘 提交于 2019-12-13 01:27:59
问题 first i have made an desktop AIR app with drag and drop functions to view the tiles image, but because of some issues, i've tryed to make the same in C#. what do you think is the better choice ? ( i know for this little programm performance is not the question, but i mean the dufficulty and complexity of both ) I was building a simple TileViewer, so a picture is selected in openFileDialog and set as tiled BackgroundImage of the Form. My problem is: I've been using a timer ( interval = 500 )

Tkinter help viewer

感情迁移 提交于 2019-12-12 09:44:24
问题 I have a simple Tkinter app in Python. I'd like to add help document to it; what is the simplest way to integrate an help viewer to the app? Preferably cross-platform (although I primarily use Windows)? I can imagine writing the help in plain HTML. 回答1: Or just launch an external web browser, using the webbrowser module from the standard library. import webbrowser webbrowser.open('/path/to/help/file.html') For writing your documentation, have a look at sphinx. 回答2: You could stick with

How to display a child List inside of the DataSource in VS Report Viewer 2008?

梦想与她 提交于 2019-12-12 04:34:49
问题 I have created a static Generic List (List) and bind it to a Report Viewer's data source. In the Report Viewer designer, I am able to find the correct data source which is List and also able to drag and drop properties like ProductName, ProductNo from a single Product object onto the report. However, this Product object itself contains another List (List). My question is how I can get the objects from this inner List and display them onto the report? Any help would be much appreciated! 回答1: 2

A PDF viewer with a toolbar actions

点点圈 提交于 2019-12-11 23:27:55
问题 I want a Drupal Module who let to the Adminintrator to upload pdf files and the users to read them in a viewer with a Toolbar that contains print, download and quit boutons like the calameo website. The possibility to have statistics on user's Toolbar actions will be appreciated. 回答1: This the solution that I found : 1-Installation of the CCK and SWF Tools. 2-Configuration of the FlowPlayer 3 player to be the Default player for FLV movies. 3-Creation of a new content that contains two fileds:

Need to view ms office documents in a php web based document management system

半城伤御伤魂 提交于 2019-12-11 10:56:59
问题 I want to make a document viewer for MS office docs and pdf for my inhouse Document Management System made in php and mysql. I dont want the users to be able to edit these documents. we need to make it browser friendly as our system is web based. Thanks in advance Chintan 回答1: You can also use iframe for that <iframe src="http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe> but you should

How to load a pdf file from the assets folder in android

送分小仙女□ 提交于 2019-12-11 07:40:51
问题 I'm a new bee in android programming. Do you have any ideas on how to read a PDF file programmatically if the file is from the assets directory?Any help would be appreciated. 回答1: I have never tried it myself but there are many good tutorials out there. Try this http://thedevelopersinfo.com/2009/11/17/using-assets-in-android/ Reading pdf or any file is similar. Try googling more about "reading files from asset folder" if the tutorial above does not help you 回答2: you can use iText for reading

How to add custom environment map for background in autodesk forge?

落花浮王杯 提交于 2019-12-11 06:35:53
问题 I want to add environment map for background,I have tried viewer.setLightPreset(value) ,but I don't like the default map.I need to add custom environment map for background.I learned about Add Custom Light for the View and Data API Viewer,and added this code in my viewer Autodesk.Viewing.Private.LightPresets.push({ name: "selfEvn", path:"selfEvn", type:"logluv", tonemap:1, E_bias: -2.0, directLightColor: [0, 0.84, 0.67], ambientColor: [0.8, 0.9, 1], lightMultiplier: 0.1, bgColorGradient: [230

QVTKOpenGLWidget and vtkGenericOpenGlRenderWindow with QTDesigner

倾然丶 夕夏残阳落幕 提交于 2019-12-10 19:35:11
问题 I'm trying to use QVTKOpenGLWidget in QTDesigner with vtkGenericOpenGlRenderWindow but I obtain a black window. When I use PCLVizualizer of PointCloud Library (PCL) with vtkGenericOpenGlRenderWindow , everything works fine. I'm trying to create a custom viewer the same way as PCL. QMainPanel::QMainPanel( HWND hWnd ) : QWinWidget( hWnd ), ui(new Ui::QMainPanel) { ui->setupUi(this); rendererTest = vtkSmartPointer<vtkRenderer>::New(); rendererTest->GradientBackgroundOn(); rendererTest-

Android PDF reader component

别说谁变了你拦得住时间么 提交于 2019-12-10 15:46:40
问题 For an Android application we must add a PDF viewer. We can't use the PDF reader install on the platform because we want to make some animations for page switch and we want that the PDF reading is integrate correctly in our application. So I search a component who make that in lgpl or a component that we can buy to integrate in our API and without loose a lot of time. Thanks in advance, 回答1: I have the similar need few days back and I went for iText PDF for Android. I used that to generate