[vtkusers] Which files must be included to use..

Henry J. Karpf hjkarpf at sandia.gov
Thu Jun 10 09:12:39 EDT 2004


Which files must be in the cmake and in the c++ program to use 
vtkXMLUnstructuredGridWriter?

This is my Cmake file right now and i include what is following that:
PROJECT (Step1)
                                                                               
INCLUDE (${CMAKE_ROOT}/Modules/FindVTK.cmake)
IF (USE_VTK_FILE)
        INCLUDE(${USE_VTK_FILE})
ENDIF (USE_VTK_FILE)
                                                                               
LINK_LIBRARIES(
        vtkRendering
        vtkGraphics
        vtkImaging
        vtkFiltering
        vtkCommon
        vtkIO
)

#include "io.h"    //This is my own lib
#include "vtkUnstructuredGrid.h"
#include "vtkPoints.h"
#include "vtkCellArray.h"
#include "vtkXMLUnstructuredGridWriter.h"






More information about the vtkusers mailing list