Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkUGFacetReader Class Reference

read EDS Unigraphics facet files. More...

#include <vtkUGFacetReader.h>

Inheritance diagram for vtkUGFacetReader:

Inheritance graph
[legend]
Collaboration diagram for vtkUGFacetReader:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
unsigned long GetMTime ()
virtual void SetFileName (const char *)
virtual char * GetFileName ()
int GetNumberOfParts ()
short GetPartColorIndex (int partId)
virtual void SetPartNumber (int)
virtual int GetPartNumber ()
virtual void SetMerging (int)
virtual int GetMerging ()
virtual void MergingOn ()
virtual void MergingOff ()
void SetLocator (vtkPointLocator *locator)
virtual vtkPointLocatorGetLocator ()
void CreateDefaultLocator ()
void SetLocator (vtkPointLocator &locator)

Static Public Methods

int IsTypeOf (const char *type)
vtkUGFacetReader * SafeDownCast (vtkObject *o)
vtkUGFacetReader * New ()

Protected Methods

 vtkUGFacetReader ()
 ~vtkUGFacetReader ()
 vtkUGFacetReader (const vtkUGFacetReader &)
void operator= (const vtkUGFacetReader &)
void Execute ()

Protected Attributes

char * FileName
vtkShortArrayPartColors
int PartNumber
int Merging
vtkPointLocatorLocator

Detailed Description

read EDS Unigraphics facet files.

Date:
2000/12/10 20:08:56
Revision:
1.31

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

Examples:
vtkUGFacetReader (examples)

Definition at line 61 of file vtkUGFacetReader.h.


Constructor & Destructor Documentation

vtkUGFacetReader::vtkUGFacetReader   [protected]
 

vtkUGFacetReader::~vtkUGFacetReader   [protected]
 

vtkUGFacetReader::vtkUGFacetReader const vtkUGFacetReader &    [inline, protected]
 

Definition at line 114 of file vtkUGFacetReader.h.


Member Function Documentation

virtual const char* vtkUGFacetReader::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

int vtkUGFacetReader::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

virtual int vtkUGFacetReader::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

vtkUGFacetReader* vtkUGFacetReader::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

void vtkUGFacetReader::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkSource.

vtkUGFacetReader* vtkUGFacetReader::New   [static]
 

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

Reimplemented from vtkPolyDataSource.

unsigned long vtkUGFacetReader::GetMTime   [virtual]
 

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

Reimplemented from vtkObject.

virtual void vtkUGFacetReader::SetFileName const char *    [virtual]
 

Specify Unigraphics file name.

virtual char* vtkUGFacetReader::GetFileName   [virtual]
 

int vtkUGFacetReader::GetNumberOfParts  
 

Special methods for interrogating the data file.

short vtkUGFacetReader::GetPartColorIndex int    partId
 

Retrieve color index for the parts in the file.

virtual void vtkUGFacetReader::SetPartNumber int    [virtual]
 

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.

virtual int vtkUGFacetReader::GetPartNumber   [virtual]
 

virtual void vtkUGFacetReader::SetMerging int    [virtual]
 

Turn on/off merging of points/triangles.

virtual int vtkUGFacetReader::GetMerging   [virtual]
 

virtual void vtkUGFacetReader::MergingOn   [virtual]
 

virtual void vtkUGFacetReader::MergingOff   [virtual]
 

void vtkUGFacetReader::SetLocator vtkPointLocator   locator
 

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

virtual vtkPointLocator* vtkUGFacetReader::GetLocator   [virtual]
 

void vtkUGFacetReader::CreateDefaultLocator void   
 

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

void vtkUGFacetReader::SetLocator vtkPointLocator   locator [inline]
 

For legacy compatibility. Do not use.

Definition at line 107 of file vtkUGFacetReader.h.

void vtkUGFacetReader::operator= const vtkUGFacetReader &    [inline, protected]
 

Definition at line 115 of file vtkUGFacetReader.h.

void vtkUGFacetReader::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


Member Data Documentation

char* vtkUGFacetReader::FileName [protected]
 

Definition at line 119 of file vtkUGFacetReader.h.

vtkShortArray* vtkUGFacetReader::PartColors [protected]
 

Definition at line 120 of file vtkUGFacetReader.h.

int vtkUGFacetReader::PartNumber [protected]
 

Definition at line 121 of file vtkUGFacetReader.h.

int vtkUGFacetReader::Merging [protected]
 

Definition at line 122 of file vtkUGFacetReader.h.

vtkPointLocator* vtkUGFacetReader::Locator [protected]
 

Definition at line 123 of file vtkUGFacetReader.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:01:23 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001