Back to index

salome-geom  6.5.0
Functions
GEOM_Actor.cxx File Reference
#include "GEOM_Actor.h"
#include "GEOM_DeviceActor.h"
#include "GEOM_VertexSource.h"
#include "GEOM_EdgeSource.h"
#include "GEOM_WireframeFace.h"
#include "GEOM_ShadingFace.h"
#include "GEOM_PainterPolyDataMapper.h"
#include "SVTK_Actor.h"
#include <OCC2VTK_Tools.h>
#include <vtkObjectFactory.h>
#include <vtkRenderer.h>
#include <vtkProperty.h>
#include <vtkPointPicker.h>
#include <vtkCellPicker.h>
#include <TopAbs_ShapeEnum.hxx>
#include <TopExp_Explorer.hxx>
#include <TopoDS.hxx>
#include <BRep_Tool.hxx>
#include <TopExp.hxx>
#include <vtkPolyDataWriter.h>
#include <vtkAppendPolyData.h>
#include <vtkPolyDataMapper.h>
#include <vtkPolyData.h>
#include <vtkTransform.h>
#include <vtkMatrix4x4.h>
#include <vtkMath.h>
#include <vtkCamera.h>
#include "utilities.h"
#include "SALOME_InteractiveObject.hxx"

Go to the source code of this file.

Functions

void Write (vtkPolyData *theDataSet, const char *theFileName)

Function Documentation

void Write ( vtkPolyData *  theDataSet,
const char *  theFileName 
)

Definition at line 217 of file GEOM_Actor.cxx.

                                                            { 
  vtkPolyDataWriter* aWriter = vtkPolyDataWriter::New(); 
  MESSAGE ("Write - "<<theFileName<<"' : "<<theDataSet->GetNumberOfPoints()<<"; "<<theDataSet->GetNumberOfCells()); 
  aWriter->SetInput(theDataSet); 
  aWriter->SetFileName(theFileName); 
  //aWriter->Write(); 
  aWriter->Delete(); 
} 

Here is the caller graph for this function: