#include <vtkUGFacetReader.h>
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.
Definition at line 31 of file vtkUGFacetReader.h.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
unsigned long | GetMTime () |
int | GetNumberOfParts () |
short | GetPartColorIndex (int partId) |
void | CreateDefaultLocator () |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
virtual void | SetPartNumber (int) |
virtual int | GetPartNumber () |
virtual void | SetMerging (int) |
virtual int | GetMerging () |
virtual void | MergingOn () |
virtual void | MergingOff () |
void | SetLocator (vtkIncrementalPointLocator *locator) |
virtual vtkIncrementalPointLocator * | GetLocator () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkUGFacetReader * | SafeDownCast (vtkObject *o) |
static vtkUGFacetReader * | New () |
Protected Member Functions | |
vtkUGFacetReader () | |
~vtkUGFacetReader () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
char * | FileName |
vtkShortArray * | PartColors |
int | PartNumber |
int | Merging |
vtkIncrementalPointLocator * | Locator |
vtkUGFacetReader::vtkUGFacetReader | ( | ) | [protected] |
vtkUGFacetReader::~vtkUGFacetReader | ( | ) | [protected] |
virtual const char* vtkUGFacetReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPolyDataAlgorithm.
static int vtkUGFacetReader::IsTypeOf | ( | const char * | name | ) | [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 vtkPolyDataAlgorithm.
virtual int vtkUGFacetReader::IsA | ( | const char * | name | ) | [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 vtkPolyDataAlgorithm.
static vtkUGFacetReader* vtkUGFacetReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
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 vtkPolyDataAlgorithm.
static vtkUGFacetReader* vtkUGFacetReader::New | ( | ) | [static] |
Construct object to extract all parts, and with point merging turned on.
Reimplemented from vtkPolyDataAlgorithm.
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] |
Specify Unigraphics file name.
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] |
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 void vtkUGFacetReader::SetMerging | ( | int | ) | [virtual] |
Turn on/off merging of points/triangles.
virtual int vtkUGFacetReader::GetMerging | ( | ) | [virtual] |
Turn on/off merging of points/triangles.
virtual void vtkUGFacetReader::MergingOn | ( | ) | [virtual] |
Turn on/off merging of points/triangles.
virtual void vtkUGFacetReader::MergingOff | ( | ) | [virtual] |
Turn on/off merging of points/triangles.
void vtkUGFacetReader::SetLocator | ( | vtkIncrementalPointLocator * | locator | ) |
Specify a spatial locator for merging points. By default an instance of vtkMergePoints is used.
virtual vtkIncrementalPointLocator* vtkUGFacetReader::GetLocator | ( | ) | [virtual] |
Specify a spatial locator for merging points. By default an instance of vtkMergePoints is used.
void vtkUGFacetReader::CreateDefaultLocator | ( | ) |
Create default locator. Used to create one when none is specified.
int vtkUGFacetReader::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
char* vtkUGFacetReader::FileName [protected] |
Definition at line 89 of file vtkUGFacetReader.h.
vtkShortArray* vtkUGFacetReader::PartColors [protected] |
Definition at line 90 of file vtkUGFacetReader.h.
int vtkUGFacetReader::PartNumber [protected] |
Definition at line 91 of file vtkUGFacetReader.h.
int vtkUGFacetReader::Merging [protected] |
Definition at line 92 of file vtkUGFacetReader.h.
vtkIncrementalPointLocator* vtkUGFacetReader::Locator [protected] |
Definition at line 93 of file vtkUGFacetReader.h.