vtkProperty2D Class Reference
#include <vtkProperty2D.h>
Inheritance diagram for vtkProperty2D:
[legend]Collaboration diagram for vtkProperty2D:
[legend]List of all members.
Detailed Description
represent surface properties of a 2D image
vtkProperty2D contains properties used to render two dimensional images and annotations.
- See also:
- vtkActor2D
- Created by:
-
- CVS contributions (if > 5%):
- Turek, Matt (54%)
- Martin, Ken (16%)
- Schroeder, Will (8%)
- Avila, Lisa (7%)
- Miller, Jim (5%)
- CVS logs (CVSweb):
.h (/Common/vtkProperty2D
.h)
.cxx (/Common/vtkProperty2D
.cxx)
Definition at line 49 of file vtkProperty2D.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkProperty2D::vtkProperty2D |
( |
|
) |
[protected] |
|
Member Function Documentation
virtual const char* vtkProperty2D::GetClassName |
( |
|
) |
[virtual] |
|
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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro 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. |
|
Creates a vtkProperty2D with the following default values: Opacity 1, Color (1,1,1)
Reimplemented from vtkObject. |
|
Assign one property to another. |
virtual void vtkProperty2D::SetColor |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
[virtual] |
|
|
Set/Get the RGB color of this property. |
virtual void vtkProperty2D::SetColor |
( |
double |
[3] |
) |
[virtual] |
|
|
Set/Get the RGB color of this property. |
virtual double* vtkProperty2D::GetColor |
( |
|
) |
[virtual] |
|
|
Set/Get the RGB color of this property. |
virtual void vtkProperty2D::GetColor |
( |
double |
data[3] |
) |
[virtual] |
|
|
Set/Get the RGB color of this property. |
virtual double vtkProperty2D::GetOpacity |
( |
|
) |
[virtual] |
|
|
Set/Get the Opacity of this property. |
virtual void vtkProperty2D::SetOpacity |
( |
double |
|
) |
[virtual] |
|
|
Set/Get the Opacity of this property. |
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] |
|
|
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 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] |
|
|
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 void vtkProperty2D::SetLineStipplePattern |
( |
int |
|
) |
[virtual] |
|
|
Set/Get the stippling pattern of a Line, as a 16-bit binary pattern (1 = pixel on, 0 = pixel off). This is only implemented for OpenGL. The default is 0xFFFF. |
virtual int vtkProperty2D::GetLineStipplePattern |
( |
|
) |
[virtual] |
|
|
Set/Get the stippling pattern of a Line, as a 16-bit binary pattern (1 = pixel on, 0 = pixel off). This is only implemented for OpenGL. The default is 0xFFFF. |
virtual void vtkProperty2D::SetLineStippleRepeatFactor |
( |
int |
|
) |
[virtual] |
|
|
Set/Get the stippling repeat factor of a Line, which specifies how many times each bit in the pattern is to be repeated. This is only implemented for OpenGL. The default is 1. |
virtual int vtkProperty2D::GetLineStippleRepeatFactor |
( |
|
) |
[virtual] |
|
|
Set/Get the stippling repeat factor of a Line, which specifies how many times each bit in the pattern is to be repeated. This is only implemented for OpenGL. The default is 1. |
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] |
|
|
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. |
void vtkProperty2D::SetDisplayLocationToBackground |
( |
|
) |
[inline] |
|
|
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.
Definition at line 114 of file vtkProperty2D.h. |
void vtkProperty2D::SetDisplayLocationToForeground |
( |
|
) |
[inline] |
|
|
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.
Definition at line 116 of file vtkProperty2D.h. |
virtual void vtkProperty2D::Render |
( |
vtkViewport * |
vtkNotUsed(viewport) |
) |
[inline, virtual] |
|
|
Have the device specific subclass render this property.
Definition at line 122 of file vtkProperty2D.h. |
Member Data Documentation
The documentation for this class was generated from the following file: