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

vtkGhostLevels Class Reference

represent and manipulate ghost levels. More...

#include <vtkGhostLevels.h>

Inheritance diagram for vtkGhostLevels:

Inheritance graph
[legend]
Collaboration diagram for vtkGhostLevels:

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)
vtkAttributeDataMakeObject ()
unsigned char GetGhostLevel (int id)
void SetGhostLevel (int id, unsigned char lev)
void InsertGhostLevel (int id, unsigned char lev)
int InsertNextGhostLevel (unsigned char lev)
void GetGhostLevels (vtkIdList *ptId, vtkGhostLevels *fn)
void SetNumberOfGhostLevels (int number)
int GetNumberOfGhostLevels ()

Static Public Methods

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

Protected Methods

 vtkGhostLevels ()
 ~vtkGhostLevels ()
 vtkGhostLevels (const vtkGhostLevels &)
void operator= (const vtkGhostLevels &)

Detailed Description

represent and manipulate ghost levels.

Date:
2000/12/10 20:08:10
Revision:
1.3

vtkGhostLevels is used to keep track of whether a particular point in one piece is replicated in another piece. One piece will "own" the point, and it's ghost level for that point will be 0. For any other pieces containing this point, the ghost level will be non-zero.

Definition at line 61 of file vtkGhostLevels.h.


Constructor & Destructor Documentation

vtkGhostLevels::vtkGhostLevels   [protected]
 

vtkGhostLevels::~vtkGhostLevels   [inline, protected]
 

Definition at line 96 of file vtkGhostLevels.h.

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

Definition at line 97 of file vtkGhostLevels.h.


Member Function Documentation

vtkGhostLevels* vtkGhostLevels::New   [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

Referenced by MakeObject().

virtual const char* vtkGhostLevels::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 vtkAttributeData.

int vtkGhostLevels::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 vtkAttributeData.

virtual int vtkGhostLevels::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 vtkAttributeData.

vtkGhostLevels* vtkGhostLevels::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 vtkAttributeData.

void vtkGhostLevels::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 vtkAttributeData.

vtkAttributeData* vtkGhostLevels::MakeObject   [inline, virtual]
 

Create a copy of this object.

Reimplemented from vtkAttributeData.

Definition at line 70 of file vtkGhostLevels.h.

unsigned char vtkGhostLevels::GetGhostLevel int    id [inline]
 

Return an unsigned char ghost level for a specific id.

Definition at line 101 of file vtkGhostLevels.h.

void vtkGhostLevels::SetGhostLevel int    id,
unsigned char    lev
[inline]
 

Insert ghost level into object. No range checking performed (fast!).

Definition at line 107 of file vtkGhostLevels.h.

void vtkGhostLevels::InsertGhostLevel int    id,
unsigned char    lev
[inline]
 

Insert ghost level into object. Range checking performed and memory allocated as necessary.

Definition at line 113 of file vtkGhostLevels.h.

int vtkGhostLevels::InsertNextGhostLevel unsigned char    lev [inline]
 

Insert ghost level into next available slot. Returns id of slot.

Definition at line 119 of file vtkGhostLevels.h.

void vtkGhostLevels::GetGhostLevels vtkIdList   ptId,
vtkGhostLevels *    fn
 

Given a list of pt ids, return an array of ghost levels.

void vtkGhostLevels::SetNumberOfGhostLevels int    number [inline]
 

Specify the number of ghost levels for this object to hold.

Definition at line 89 of file vtkGhostLevels.h.

int vtkGhostLevels::GetNumberOfGhostLevels   [inline]
 

Return number of ghost levels in the array.

Definition at line 93 of file vtkGhostLevels.h.

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

Definition at line 98 of file vtkGhostLevels.h.


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