VTK
|
image display properties More...
#include <vtkImageProperty.h>
Public Types | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageProperty * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | DeepCopy (vtkImageProperty *p) |
unsigned long | GetMTime () |
virtual void | SetColorWindow (double) |
virtual double | GetColorWindow () |
virtual void | SetColorLevel (double) |
virtual double | GetColorLevel () |
virtual void | SetLookupTable (vtkScalarsToColors *lut) |
virtual vtkScalarsToColors * | GetLookupTable () |
virtual void | SetUseLookupTableScalarRange (int) |
virtual int | GetUseLookupTableScalarRange () |
virtual void | UseLookupTableScalarRangeOn () |
virtual void | UseLookupTableScalarRangeOff () |
virtual void | SetOpacity (double) |
virtual double | GetOpacity () |
virtual void | SetAmbient (double) |
virtual double | GetAmbient () |
virtual void | SetDiffuse (double) |
virtual double | GetDiffuse () |
virtual void | SetInterpolationType (int) |
virtual int | GetInterpolationType () |
void | SetInterpolationTypeToNearest () |
void | SetInterpolationTypeToLinear () |
void | SetInterpolationTypeToCubic () |
virtual const char * | GetInterpolationTypeAsString () |
virtual void | SetLayerNumber (int) |
int | GetLayerNumber () |
virtual void | SetCheckerboard (int) |
virtual void | CheckerboardOn () |
virtual void | CheckerboardOff () |
virtual int | GetCheckerboard () |
virtual void | SetCheckerboardSpacing (double, double) |
void | SetCheckerboardSpacing (double[2]) |
virtual double * | GetCheckerboardSpacing () |
virtual void | GetCheckerboardSpacing (double &, double &) |
virtual void | GetCheckerboardSpacing (double[2]) |
virtual void | SetCheckerboardOffset (double, double) |
void | SetCheckerboardOffset (double[2]) |
virtual double * | GetCheckerboardOffset () |
virtual void | GetCheckerboardOffset (double &, double &) |
virtual void | GetCheckerboardOffset (double[2]) |
virtual void | SetBacking (int) |
virtual void | BackingOn () |
virtual void | BackingOff () |
virtual int | GetBacking () |
virtual void | SetBackingColor (double, double, double) |
virtual void | SetBackingColor (double[3]) |
virtual double * | GetBackingColor () |
virtual void | GetBackingColor (double &, double &, double &) |
virtual void | GetBackingColor (double[3]) |
![]() | |
vtkObject * | NewInstance () const |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
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 vtkImageProperty * | SafeDownCast (vtkObjectBase *o) |
static vtkImageProperty * | 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 |
vtkImageProperty () | |
~vtkImageProperty () | |
![]() | |
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 | |
vtkScalarsToColors * | LookupTable |
double | ColorWindow |
double | ColorLevel |
int | UseLookupTableScalarRange |
int | InterpolationType |
int | LayerNumber |
double | Opacity |
double | Ambient |
double | Diffuse |
int | Checkerboard |
double | CheckerboardSpacing [2] |
double | CheckerboardOffset [2] |
int | Backing |
double | BackingColor [3] |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
image display properties
vtkImageProperty is an object that allows control of the display of an image slice.
Definition at line 41 of file vtkImageProperty.h.
Definition at line 44 of file vtkImageProperty.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.
vtkImageProperty* vtkImageProperty::NewInstance | ( | ) | const |
|
virtual |
|
static |
Construct a property with no lookup table.
void vtkImageProperty::DeepCopy | ( | vtkImageProperty * | p | ) |
Assign one property to another.
|
virtual |
The window value for window/level.
|
virtual |
The window value for window/level.
|
virtual |
The level value for window/level.
|
virtual |
The level value for window/level.
|
virtual |
Specify a lookup table for the data. If the data is to be displayed as greyscale, or if the input data is already RGB, there is no need to set a lookup table.
|
virtual |
Specify a lookup table for the data. If the data is to be displayed as greyscale, or if the input data is already RGB, there is no need to set a lookup table.
|
virtual |
Use the range that is set in the lookup table, instead of setting the range from the Window/Level settings. This is off by default.
|
virtual |
Use the range that is set in the lookup table, instead of setting the range from the Window/Level settings. This is off by default.
|
virtual |
Use the range that is set in the lookup table, instead of setting the range from the Window/Level settings. This is off by default.
|
virtual |
Use the range that is set in the lookup table, instead of setting the range from the Window/Level settings. This is off by default.
|
virtual |
The opacity of the image, where 1.0 is opaque and 0.0 is transparent. If the image has an alpha component, then the alpha component will be multiplied by this value.
|
virtual |
The opacity of the image, where 1.0 is opaque and 0.0 is transparent. If the image has an alpha component, then the alpha component will be multiplied by this value.
|
virtual |
The ambient lighting coefficient. The default is 1.0.
|
virtual |
The ambient lighting coefficient. The default is 1.0.
|
virtual |
The diffuse lighting coefficient. The default is 0.0.
|
virtual |
The diffuse lighting coefficient. The default is 0.0.
|
virtual |
The interpolation type (default: nearest neighbor).
|
virtual |
The interpolation type (default: nearest neighbor).
|
inline |
The interpolation type (default: nearest neighbor).
Definition at line 106 of file vtkImageProperty.h.
|
inline |
The interpolation type (default: nearest neighbor).
Definition at line 108 of file vtkImageProperty.h.
|
inline |
The interpolation type (default: nearest neighbor).
Definition at line 110 of file vtkImageProperty.h.
|
virtual |
The interpolation type (default: nearest neighbor).
|
virtual |
Set the layer number. This is ignored unless the image is part of a vtkImageStack. The default layer number is zero.
|
inline |
Set the layer number. This is ignored unless the image is part of a vtkImageStack. The default layer number is zero.
Definition at line 119 of file vtkImageProperty.h.
|
virtual |
Make a checkerboard pattern where the black squares are transparent. The pattern is aligned with the camera, and centered by default.
|
virtual |
Make a checkerboard pattern where the black squares are transparent. The pattern is aligned with the camera, and centered by default.
|
virtual |
Make a checkerboard pattern where the black squares are transparent. The pattern is aligned with the camera, and centered by default.
|
virtual |
Make a checkerboard pattern where the black squares are transparent. The pattern is aligned with the camera, and centered by default.
The spacing for checkerboarding. This is in real units, not pixels.
void vtkImageProperty::SetCheckerboardSpacing | ( | double | [2] | ) |
The spacing for checkerboarding. This is in real units, not pixels.
|
virtual |
The spacing for checkerboarding. This is in real units, not pixels.
The spacing for checkerboarding. This is in real units, not pixels.
|
virtual |
The spacing for checkerboarding. This is in real units, not pixels.
The phase offset for checkerboarding, in units of spacing. Use a value between -1 and +1, where 1 is an offset of one squares.
void vtkImageProperty::SetCheckerboardOffset | ( | double | [2] | ) |
The phase offset for checkerboarding, in units of spacing. Use a value between -1 and +1, where 1 is an offset of one squares.
|
virtual |
The phase offset for checkerboarding, in units of spacing. Use a value between -1 and +1, where 1 is an offset of one squares.
The phase offset for checkerboarding, in units of spacing. Use a value between -1 and +1, where 1 is an offset of one squares.
|
virtual |
The phase offset for checkerboarding, in units of spacing. Use a value between -1 and +1, where 1 is an offset of one squares.
|
virtual |
Use an opaque backing polygon, which will be visible where the image is translucent. When images are in a stack, the backing polygons for all images will be drawn before any of the images in the stack, in order to allow the images in the stack to be composited.
|
virtual |
Use an opaque backing polygon, which will be visible where the image is translucent. When images are in a stack, the backing polygons for all images will be drawn before any of the images in the stack, in order to allow the images in the stack to be composited.
|
virtual |
Use an opaque backing polygon, which will be visible where the image is translucent. When images are in a stack, the backing polygons for all images will be drawn before any of the images in the stack, in order to allow the images in the stack to be composited.
|
virtual |
Use an opaque backing polygon, which will be visible where the image is translucent. When images are in a stack, the backing polygons for all images will be drawn before any of the images in the stack, in order to allow the images in the stack to be composited.
Set the color of the backing polygon. The default color is black.
|
virtual |
Set the color of the backing polygon. The default color is black.
|
virtual |
Set the color of the backing polygon. The default color is black.
Set the color of the backing polygon. The default color is black.
|
virtual |
Set the color of the backing polygon. The default color is black.
|
virtual |
Get the MTime for this property. If the lookup table is set, the mtime will include the mtime of the lookup table.
Reimplemented from vtkObject.
|
protected |
Definition at line 168 of file vtkImageProperty.h.
|
protected |
Definition at line 169 of file vtkImageProperty.h.
|
protected |
Definition at line 170 of file vtkImageProperty.h.
|
protected |
Definition at line 171 of file vtkImageProperty.h.
|
protected |
Definition at line 172 of file vtkImageProperty.h.
|
protected |
Definition at line 173 of file vtkImageProperty.h.
|
protected |
Definition at line 174 of file vtkImageProperty.h.
|
protected |
Definition at line 175 of file vtkImageProperty.h.
|
protected |
Definition at line 176 of file vtkImageProperty.h.
|
protected |
Definition at line 177 of file vtkImageProperty.h.
|
protected |
Definition at line 178 of file vtkImageProperty.h.
|
protected |
Definition at line 179 of file vtkImageProperty.h.
|
protected |
Definition at line 180 of file vtkImageProperty.h.
|
protected |
Definition at line 181 of file vtkImageProperty.h.