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

vtkProperty2D Class Reference

#include <vtkProperty2D.h>

Inheritance diagram for vtkProperty2D:

Inheritance graph
[legend]
Collaboration diagram for vtkProperty2D:

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)
void DeepCopy (vtkProperty2D *p)
virtual void SetColor (float, float, float)
virtual void SetColor (float[3])
virtual float * GetColor ()
virtual void GetColor (float data[3])
virtual float GetOpacity ()
virtual void SetOpacity (float)
virtual void SetPointSize (float)
virtual float GetPointSize ()
virtual void SetLineWidth (float)
virtual float GetLineWidth ()
virtual void SetDisplayLocation (int)
virtual int GetDisplayLocation ()
void SetDisplayLocationToBackground ()
void SetDisplayLocationToForeground ()
virtual void Render (vtkViewport *vtkNotUsed(viewport))

Static Public Methods

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

Protected Methods

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

Protected Attributes

float Color [3]
float Opacity
float PointSize
float LineWidth
int DisplayLocation

Detailed Description

Date:
2000/12/10 20:08:16
Revision:
1.20
Thanks:
Thanks to Matt Turek who developed this class.
vtkProperty2D contains properties used to render two dimensional images and annotations.

See also:
vtkActor2D

Definition at line 62 of file vtkProperty2D.h.


Constructor & Destructor Documentation

vtkProperty2D::vtkProperty2D   [protected]
 

vtkProperty2D::~vtkProperty2D   [protected]
 

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

Definition at line 114 of file vtkProperty2D.h.


Member Function Documentation

virtual const char* vtkProperty2D::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 vtkObject.

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

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

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

void vtkProperty2D::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 vtkObject.

vtkProperty2D* vtkProperty2D::New   [static]
 

Creates a vtkProperty2D with the following default values: Opacity 1, Color (1,1,1)

Reimplemented from vtkObject.

void vtkProperty2D::DeepCopy vtkProperty2D *    p
 

Assign one property to another.

virtual void vtkProperty2D::SetColor float   ,
float   ,
float   
[virtual]
 

Set/Get the RGB color of this property.

virtual void vtkProperty2D::SetColor float   [3] [virtual]
 

virtual float* vtkProperty2D::GetColor   [virtual]
 

virtual void vtkProperty2D::GetColor float    data[3] [virtual]
 

virtual float vtkProperty2D::GetOpacity   [virtual]
 

Set/Get the Opacity of this property.

virtual void vtkProperty2D::SetOpacity float    [virtual]
 

virtual void vtkProperty2D::SetPointSize float    [virtual]
 

Set/Get the diameter of a Point. The size is expressed in screen units. This is only implemented for OpenGL. The default is 1.0.

virtual float vtkProperty2D::GetPointSize   [virtual]
 

virtual void vtkProperty2D::SetLineWidth float    [virtual]
 

Set/Get the width of a Line. The width is expressed in screen units. This is only implemented for OpenGL. The default is 1.0.

virtual float vtkProperty2D::GetLineWidth   [virtual]
 

virtual void vtkProperty2D::SetDisplayLocation int    [virtual]
 

The DisplayLocation is either background or foreground. If it is background, then this 2D actor will be drawn behind all 3D props or foreground 2D actors. If it is background, then this 2D actor will be drawn in front of all 3D props and background 2D actors. Within 2D actors of the same DisplayLocation type, order is determined by the order in which the 2D actors were added to the viewport.

virtual int vtkProperty2D::GetDisplayLocation   [virtual]
 

void vtkProperty2D::SetDisplayLocationToBackground   [inline]
 

Definition at line 102 of file vtkProperty2D.h.

void vtkProperty2D::SetDisplayLocationToForeground   [inline]
 

Definition at line 104 of file vtkProperty2D.h.

virtual void vtkProperty2D::Render vtkViewport *vtkNotUsed(viewport)    [inline, virtual]
 

Have the device specific subclass render this property.

Definition at line 109 of file vtkProperty2D.h.

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

Definition at line 115 of file vtkProperty2D.h.


Member Data Documentation

float vtkProperty2D::Color[3] [protected]
 

Definition at line 117 of file vtkProperty2D.h.

float vtkProperty2D::Opacity [protected]
 

Definition at line 118 of file vtkProperty2D.h.

float vtkProperty2D::PointSize [protected]
 

Definition at line 119 of file vtkProperty2D.h.

float vtkProperty2D::LineWidth [protected]
 

Definition at line 120 of file vtkProperty2D.h.

int vtkProperty2D::DisplayLocation [protected]
 

Definition at line 121 of file vtkProperty2D.h.


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