[vtkusers] Accessing VTK_DATA_ROOT from C++
    Huiqun Zhou 
    hqzhou at nju.edu.cn
       
    Mon Jul  7 22:42:59 EDT 2003
    
    
  
You just need to call
    char * path = getenv("VTK_DATA_ROOT");
----------------------------
Huiqun Zhou, Ph. D.
Department of Earth Sciences
Nanjing University
China
e-mail: hqzhou at nju.edu.cn
Tel: 86(25)359-4664
FAX: 86(25)368-6016
Mobil: 13182856800
----------------------------
----- Original Message ----- 
From: "Tuhin Sinha" <tk.sinha at vanderbilt.edu>
To: <vtkusers at public.kitware.com>
Sent: Tuesday, July 08, 2003 1:08 AM
Subject: [vtkusers] Accessing VTK_DATA_ROOT from C++
> Hello users,
> 
> Does anyone know how to get access to the VTK_DATA_ROOT setting from a C++ 
> source file.  I expected to find it in "vtkConfigure.h", but it wasn't there.  
> If it isn't accessible somewhere already, can it be added to vtkConfigure.h?  
> Thanks for your time.
> 
> Tuhin Sinha
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
    
    
More information about the vtkusers
mailing list