VTK
|
represent surface properties of a 2D image More...
#include <vtkProperty2D.h>
Public Types | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkProperty2D * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | DeepCopy (vtkProperty2D *p) |
virtual void | SetColor (double, double, double) |
virtual void | SetColor (double[3]) |
virtual double * | GetColor () |
virtual void | GetColor (double &, double &, double &) |
virtual void | GetColor (double[3]) |
virtual double | GetOpacity () |
virtual void | SetOpacity (double) |
virtual void | SetPointSize (float) |
virtual float | GetPointSize () |
virtual void | SetLineWidth (float) |
virtual float | GetLineWidth () |
virtual void | SetLineStipplePattern (int) |
virtual int | GetLineStipplePattern () |
virtual void | SetLineStippleRepeatFactor (int) |
virtual int | GetLineStippleRepeatFactor () |
virtual void | SetDisplayLocation (int) |
virtual int | GetDisplayLocation () |
void | SetDisplayLocationToBackground () |
void | SetDisplayLocationToForeground () |
virtual void | Render (vtkViewport *vtkNotUsed(viewport)) |
![]() | |
vtkObject * | NewInstance () 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) |
vtkCommand * | GetCommand (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) |
![]() | |
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 | IsTypeOf (const char *type) |
static vtkProperty2D * | SafeDownCast (vtkObjectBase *o) |
static vtkProperty2D * | New () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkProperty2D () | |
~vtkProperty2D () | |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
double | Color [3] |
double | Opacity |
float | PointSize |
float | LineWidth |
int | LineStipplePattern |
int | LineStippleRepeatFactor |
int | DisplayLocation |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
represent surface properties of a 2D image
vtkProperty2D contains properties used to render two dimensional images and annotations.
Definition at line 39 of file vtkProperty2D.h.
typedef vtkObject vtkProperty2D::Superclass |
Definition at line 42 of file vtkProperty2D.h.
|
protected |
|
protected |
|
static |
|
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.
|
static |
|
protectedvirtual |
Reimplemented from vtkObject.
vtkProperty2D* vtkProperty2D::NewInstance | ( | ) | const |
|
virtual |
|
static |
Creates a vtkProperty2D with the following default values: Opacity 1, Color (1,1,1)
void vtkProperty2D::DeepCopy | ( | vtkProperty2D * | p | ) |
Assign one property to another.
Set/Get the RGB color of this property.
|
virtual |
Set/Get the RGB color of this property.
|
virtual |
Set/Get the RGB color of this property.
Set/Get the RGB color of this property.
|
virtual |
Set/Get the RGB color of this property.
|
virtual |
Set/Get the Opacity of this property.
|
virtual |
Set/Get the Opacity of this property.
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.
|
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 104 of file vtkProperty2D.h.
|
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 106 of file vtkProperty2D.h.
|
inlinevirtual |
Have the device specific subclass render this property.
Definition at line 113 of file vtkProperty2D.h.
|
protected |
Definition at line 121 of file vtkProperty2D.h.
|
protected |
Definition at line 122 of file vtkProperty2D.h.
|
protected |
Definition at line 123 of file vtkProperty2D.h.
|
protected |
Definition at line 124 of file vtkProperty2D.h.
|
protected |
Definition at line 125 of file vtkProperty2D.h.
|
protected |
Definition at line 126 of file vtkProperty2D.h.
|
protected |
Definition at line 127 of file vtkProperty2D.h.