Documentation for vtkUGFacetReader

vtkUGFacetReader - read EDS Unigraphics facet files

Super Class: vtkPolyDataSource

Description:

vtkUGFacetReader is a source object that reads Unigraphics facet files. Unigraphics is a solid modelling system; facet files are the polygonal plot files it uses to create 3D plots.

 

Methods:

void vtkUGFacetReader ()
void vtkUGFacetReader ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkUGFacetReader *New ()
unsigned long GetMTime ()
void SetFileName (char *)
char *GetFileName ()
int GetNumberOfParts ()
short GetPartColorIndex (int )
void SetPartNumber (int )
int GetPartNumber ()
void SetMerging (int )
int GetMerging ()
void MergingOn ()
void MergingOff ()
void SetLocator (vtkPointLocator *)
vtkPointLocator *GetLocator ()
void CreateDefaultLocator ()
void SetLocator (vtkPointLocator &)
void Execute ()

 

Detailed Method Descriptions:

Construct object to extract all parts, and with point merging turned on.

static vtkUGFacetReader *New ()

Overload standard modified time function. If locator is modified, then this object is modified as well.

unsigned long GetMTime ()

Specify Unigraphics file name.

void SetFileName (char *)
char *GetFileName ()

Special methods for interrogating the data file.

int GetNumberOfParts ()

Retrieve color index for the parts in the file.

short GetPartColorIndex (int )

Specify the desired part to extract. The part number must range between [0,NumberOfParts-1]. If the value is =(-1), then all parts will be extracted. If the value is <(-1), then no parts will be extracted but the part colors will be updated.

void SetPartNumber (int )
int GetPartNumber ()

Turn on/off merging of points/triangles.

void SetMerging (int )
int GetMerging ()
void MergingOn ()
void MergingOff ()

Specify a spatial locator for merging points. By default an instance of vtkMergePoints is used.

void SetLocator (vtkPointLocator *)
vtkPointLocator *GetLocator ()

Create default locator. Used to create one when none is specified.

void CreateDefaultLocator ()

For legacy compatibiltiy. Do not use.

void SetLocator (vtkPointLocator &)