VTK
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkAbstractCellLinks Class Referenceabstract

an abstract base class for classes that build topological links from points to cells More...

#include <vtkAbstractCellLinks.h>

Inheritance diagram for vtkAbstractCellLinks:
[legend]
Collaboration diagram for vtkAbstractCellLinks:
[legend]

Public Member Functions

virtual void BuildLinks (vtkDataSet *data)=0
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual unsigned long GetMTime ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static int GetIdType (vtkIdType maxPtId, vtkIdType maxCellId, vtkCellArray *ca)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkAbstractCellLinks ()
 
virtual ~vtkAbstractCellLinks ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 
typedef vtkObject Superclass
 
static int IsTypeOf (const char *type)
 
static vtkAbstractCellLinksSafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkAbstractCellLinksNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBaseNewInstanceInternal () const
 

Additional Inherited Members

- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

an abstract base class for classes that build topological links from points to cells

vtkAbstractCellLinks is a family of supplemental objects to vtkCellArray and vtkCellTypes, enabling fast access from points to the cells using the points. vtkAbstractCellLinks is an array of links, each link representing a list of cell ids using a particular point. The information provided by this object can be used to determine neighbors and construct other local topological information.

See also
vtkCellLinks vtkStaticCellLinks vtkStaticCellLinksTemplate

Definition at line 41 of file vtkAbstractCellLinks.h.

Member Typedef Documentation

Standard type and print methods.

Definition at line 46 of file vtkAbstractCellLinks.h.

Constructor & Destructor Documentation

vtkAbstractCellLinks::vtkAbstractCellLinks ( )
protected
virtual vtkAbstractCellLinks::~vtkAbstractCellLinks ( )
protectedvirtual

Member Function Documentation

static int vtkAbstractCellLinks::IsTypeOf ( const char *  type)
static

Standard type and print methods.

virtual int vtkAbstractCellLinks::IsA ( const char *  type)
virtual

Standard type and print methods.

Reimplemented from vtkObject.

Reimplemented in vtkStaticCellLinks, and vtkCellLinks.

static vtkAbstractCellLinks* vtkAbstractCellLinks::SafeDownCast ( vtkObjectBase o)
static

Standard type and print methods.

virtual vtkObjectBase* vtkAbstractCellLinks::NewInstanceInternal ( ) const
protectedvirtual

Standard type and print methods.

Reimplemented from vtkObject.

Reimplemented in vtkStaticCellLinks, and vtkCellLinks.

vtkAbstractCellLinks* vtkAbstractCellLinks::NewInstance ( ) const

Standard type and print methods.

void vtkAbstractCellLinks::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Standard type and print methods.

Reimplemented from vtkObject.

Reimplemented in vtkStaticCellLinks, and vtkCellLinks.

virtual void vtkAbstractCellLinks::BuildLinks ( vtkDataSet data)
pure virtual

Build the link list array. All subclasses must implement this method.

Implemented in vtkStaticCellLinks, and vtkCellLinks.

static int vtkAbstractCellLinks::GetIdType ( vtkIdType  maxPtId,
vtkIdType  maxCellId,
vtkCellArray ca 
)
static

Based on the input (i.e., number of points, number of cells, and length of connectivity array) this helper method returns the integral type to use when instantiating cell link-related classes in order to properly represent the data. The return value is one of the types (VTK_ID_TYPE,VTK_INT,VTK_SHORT) defined in the file vtkType.h. Subclasses may choose to instantiate themselves with different integral types for performance and/or memory reasons.


The documentation for this class was generated from the following file: