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

vtkObject Class Reference

implement selected glu functionality. More...

#include <vtkgluPickMatrix.h>

Inheritance diagram for vtkObject:

Inheritance graph
[legend]
Collaboration diagram for vtkObject:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *name)
virtual void Delete ()
virtual void DebugOn ()
virtual void DebugOff ()
unsigned char GetDebug ()
void SetDebug (unsigned char debugFlag)
virtual void Modified ()
virtual unsigned long GetMTime ()
void Print (ostream &os)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void PrintHeader (ostream &os, vtkIndent indent)
virtual void PrintTrailer (ostream &os, vtkIndent indent)
void Register (vtkObject *o)
virtual void UnRegister (vtkObject *o)
int GetReferenceCount ()
void SetReferenceCount (int)
unsigned long AddObserver (unsigned long event, vtkCommand *)
unsigned long AddObserver (const char *event, vtkCommand *)
vtkCommandGetCommand (unsigned long tag)
void InvokeEvent (unsigned long event, void *callData)
void InvokeEvent (const char *event, void *callData)
void RemoveObserver (unsigned long tag)
int HasObserver (unsigned long event)
int HasObserver (const char *event)

Static Public Methods

int IsTypeOf (const char *name)
vtkObject * SafeDownCast (vtkObject *o)
vtkObject * New ()
void BreakOnError ()
void SetGlobalWarningDisplay (int val)
void GlobalWarningDisplayOn ()
void GlobalWarningDisplayOff ()
int GetGlobalWarningDisplay ()

Protected Methods

 vtkObject ()
virtual ~vtkObject ()
 vtkObject (const vtkObject &)
void operator= (const vtkObject &)

Protected Attributes

unsigned char Debug
vtkTimeStamp MTime
int ReferenceCount
vtkSubjectHelper * SubjectHelper

Friends

VTK_EXPORT ostream & operator<< (ostream &os, vtkObject &o)

Detailed Description

implement selected glu functionality.

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

This file implements selected glu functionality to avoid system dependencies on glu.


Member Function Documentation

unsigned long vtkObject::AddObserver unsigned long    event,
vtkCommand  
 

Allow people to add/remove/invoke observers (callbacks) to any VTK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and a vtkCommand to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. BTX

void vtkObject::BreakOnError   [static]
 

This method is called when vtkErrorMacro executes. It allows the debugger to break on error.

virtual void vtkObject::DebugOff   [virtual]
 

Turn debugging output off.

Reimplemented in vtkImageOpenClose3D.

virtual void vtkObject::DebugOn   [virtual]
 

Turn debugging output on.

Reimplemented in vtkImageOpenClose3D.

virtual void vtkObject::Delete   [virtual]
 

Delete a VTK object. This method should always be used to delete an object when the New() method was used to create it. Using the C++ delete method will not work with reference counting.

virtual const char* vtkObject::GetClassName   [inline, 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 in vtkAbstractMapper.

unsigned char vtkObject::GetDebug  
 

Get the value of the debug flag.

virtual unsigned long vtkObject::GetMTime   [virtual]
 

Return this object's modified time.

Reimplemented in vtkAbstractTransform.

int vtkObject::GetReferenceCount   [inline]
 

Return the current reference count of this object.

virtual int vtkObject::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 in vtkAbstractMapper.

int vtkObject::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 in vtkAbstractMapper.

void vtkObject::Modified   [inline, virtual]
 

Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.

Reimplemented in vtkLightKit.

vtkObject* vtkObject::New   [inline, static]
 

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

Reimplemented in vtkActor2D.

void vtkObject::Print ostream &    os
 

Print an object to an ostream. This is the method to call when you wish to see print the internal state of an object.

virtual void vtkObject::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 in vtkAbstractMapper.

void vtkObject::Register vtkObject *    o
 

Increase the reference count (mark as used by another object).

vtkObject* vtkObject::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 in vtkAbstractMapper.

void vtkObject::SetDebug unsigned char    debugFlag
 

Set the value of the debug flag. A non-zero value turns debugging on.

void vtkObject::SetGlobalWarningDisplay int    val [static]
 

This is a global flag that controls whether any debug, warning or error messages are displayed.

void vtkObject::SetReferenceCount int   
 

Sets the reference count. (This is very dangerous, use with care.)

virtual void vtkObject::UnRegister vtkObject *    o [virtual]
 

Decrease the reference count (release by another object). This has the same effect as invoking Delete() (i.e., it reduces the reference count by 1).

Reimplemented in vtkAbstractTransform.


The documentation for this class was generated from the following files:
Generated on Tue Mar 19 13:29:50 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002