On Tue, 2009-12-08 at 10:31 -0500, Berk Geveci wrote:
> I am guessing it is an oversight.
> 
> -berk
> 
> On Tue, Dec 8, 2009 at 8:28 AM, Mark Olesen
> <[email protected]> wrote:
> > I was recently had some .obj files to view and noticed to my surprise
> > that ParaView doesn't support reading them - I'd guess since they aren't
> > mentioned in the Servers/ServerManager/Resources/readers.xml
> >
> > Is there any reason that they aren't enabled? Or just an oversight?


Who at kitware can make a commit with
   "BUG: Added missing vtkOBJReader to ServerManager Resources"
?


An example of the (trivial) change required is attached.


/mark
-- 
Mark Olesen <[email protected]>
EMCON Technologies Germany (Augsburg) GmbH

This e-mail message and any attachments may contain legally privileged, 
confidential or proprietary Information, or information otherwise protected by 
law of EMCON Technologies, its affiliates, or third parties. This notice serves 
as marking of its "Confidential" status as defined in any confidentiality 
agreements concerning the sender and recipient. If you are not the intended 
recipient(s), or the employee or agent responsible for delivery of this message 
to the intended recipient(s), you are hereby notified that any dissemination, 
distribution or copying of this e-mail message is strictly prohibited. 
If you have received this message in error, please immediately notify the 
sender and delete this e-mail message from your computer.

diff --git a/Servers/ServerManager/Resources/readers.xml 
b/Servers/ServerManager/Resources/readers.xml
index 43e28a1..9ed6239 100644
--- a/Servers/ServerManager/Resources/readers.xml
+++ b/Servers/ServerManager/Resources/readers.xml
@@ -3377,6 +3377,30 @@
    <!-- End byureader -->
    </SourceProxy>

+   <SourceProxy name="byureader" class="vtkOBJReader" label="Wavefront OBJ 
Reader">
+     <Documentation
+       short_help="Read Wavefront .OBJ files."
+       long_help="Read Wavefront .OBJ files to produce polygonal data.">
+       The OBJ reader reads data stored in Wavefront .OBJ format.
+       The expected file extension is .obj, the datasets resulting from 
reading these files are polygonal.
+     </Documentation>
+     <StringVectorProperty
+        name="FileName"
+        animateable="0"
+        command="SetFileName"
+        number_of_elements="1">
+        <FileListDomain name="files"/>
+        <Documentation>
+          This property specifies the file name for the OBJ reader.
+        </Documentation>
+     </StringVectorProperty>
+     <Hints>
+      <ReaderFactory extensions="obj"
+          file_description="Wavefront OBJ Files"/>
+     </Hints>
+   <!-- End vtkOBJReader -->
+   </SourceProxy>
+
    <SourceProxy name="gaussiancubereader" class="vtkGaussianCubeReader"
                 label="Gaussian Cube Reader">
      <Documentation
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to