VTK
|
image display properties More...
#include <vtkImageProperty.h>
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.
Reimplemented from vtkObject.
Definition at line 44 of file vtkImageProperty.h.
vtkImageProperty::vtkImageProperty | ( | ) | [protected] |
vtkImageProperty::~vtkImageProperty | ( | ) | [protected] |
static int vtkImageProperty::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 from vtkObject.
virtual int vtkImageProperty::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 from vtkObject.
static vtkImageProperty* vtkImageProperty::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkImageProperty::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
vtkImageProperty* vtkImageProperty::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
void vtkImageProperty::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
static vtkImageProperty* vtkImageProperty::New | ( | ) | [static] |
Construct a property with no lookup table.
Reimplemented from vtkObject.
void vtkImageProperty::DeepCopy | ( | vtkImageProperty * | p | ) |
Assign one property to another.
virtual void vtkImageProperty::SetColorWindow | ( | double | ) | [virtual] |
The window value for window/level.
virtual double vtkImageProperty::GetColorWindow | ( | ) | [virtual] |
The window value for window/level.
virtual void vtkImageProperty::SetColorLevel | ( | double | ) | [virtual] |
The level value for window/level.
virtual double vtkImageProperty::GetColorLevel | ( | ) | [virtual] |
The level value for window/level.
virtual void vtkImageProperty::SetLookupTable | ( | vtkScalarsToColors * | lut | ) | [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 vtkScalarsToColors* vtkImageProperty::GetLookupTable | ( | ) | [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 void vtkImageProperty::SetUseLookupTableScalarRange | ( | int | ) | [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 int vtkImageProperty::GetUseLookupTableScalarRange | ( | ) | [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 void vtkImageProperty::UseLookupTableScalarRangeOn | ( | ) | [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 void vtkImageProperty::UseLookupTableScalarRangeOff | ( | ) | [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 void vtkImageProperty::SetOpacity | ( | double | ) | [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 double vtkImageProperty::GetOpacity | ( | ) | [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 void vtkImageProperty::SetAmbient | ( | double | ) | [virtual] |
The ambient lighting coefficient. The default is 1.0.
virtual double vtkImageProperty::GetAmbient | ( | ) | [virtual] |
The ambient lighting coefficient. The default is 1.0.
virtual void vtkImageProperty::SetDiffuse | ( | double | ) | [virtual] |
The diffuse lighting coefficient. The default is 0.0.
virtual double vtkImageProperty::GetDiffuse | ( | ) | [virtual] |
The diffuse lighting coefficient. The default is 0.0.
virtual void vtkImageProperty::SetInterpolationType | ( | int | ) | [virtual] |
The interpolation type (default: nearest neighbor).
virtual int vtkImageProperty::GetInterpolationType | ( | ) | [virtual] |
The interpolation type (default: nearest neighbor).
void vtkImageProperty::SetInterpolationTypeToNearest | ( | ) | [inline] |
The interpolation type (default: nearest neighbor).
Definition at line 106 of file vtkImageProperty.h.
void vtkImageProperty::SetInterpolationTypeToLinear | ( | ) | [inline] |
The interpolation type (default: nearest neighbor).
Definition at line 108 of file vtkImageProperty.h.
void vtkImageProperty::SetInterpolationTypeToCubic | ( | ) | [inline] |
The interpolation type (default: nearest neighbor).
Definition at line 110 of file vtkImageProperty.h.
virtual const char* vtkImageProperty::GetInterpolationTypeAsString | ( | ) | [virtual] |
The interpolation type (default: nearest neighbor).
virtual void vtkImageProperty::SetLayerNumber | ( | int | ) | [virtual] |
Set the layer number. This is ignored unless the image is part of a vtkImageStack. The default layer number is zero.
int vtkImageProperty::GetLayerNumber | ( | ) | [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 void vtkImageProperty::SetCheckerboard | ( | int | ) | [virtual] |
Make a checkerboard pattern where the black squares are transparent. The pattern is aligned with the camera, and centered by default.
virtual void vtkImageProperty::CheckerboardOn | ( | ) | [virtual] |
Make a checkerboard pattern where the black squares are transparent. The pattern is aligned with the camera, and centered by default.
virtual void vtkImageProperty::CheckerboardOff | ( | ) | [virtual] |
Make a checkerboard pattern where the black squares are transparent. The pattern is aligned with the camera, and centered by default.
virtual int vtkImageProperty::GetCheckerboard | ( | ) | [virtual] |
Make a checkerboard pattern where the black squares are transparent. The pattern is aligned with the camera, and centered by default.
virtual void vtkImageProperty::SetCheckerboardSpacing | ( | double | , |
double | |||
) | [virtual] |
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 double* vtkImageProperty::GetCheckerboardSpacing | ( | ) | [virtual] |
The spacing for checkerboarding. This is in real units, not pixels.
virtual void vtkImageProperty::GetCheckerboardSpacing | ( | double & | , |
double & | |||
) | [virtual] |
The spacing for checkerboarding. This is in real units, not pixels.
virtual void vtkImageProperty::GetCheckerboardSpacing | ( | double | [2] | ) | [virtual] |
The spacing for checkerboarding. This is in real units, not pixels.
virtual void vtkImageProperty::SetCheckerboardOffset | ( | double | , |
double | |||
) | [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.
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 double* vtkImageProperty::GetCheckerboardOffset | ( | ) | [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 void vtkImageProperty::GetCheckerboardOffset | ( | double & | , |
double & | |||
) | [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 void vtkImageProperty::GetCheckerboardOffset | ( | double | [2] | ) | [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 void vtkImageProperty::SetBacking | ( | int | ) | [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 void vtkImageProperty::BackingOn | ( | ) | [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 void vtkImageProperty::BackingOff | ( | ) | [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 int vtkImageProperty::GetBacking | ( | ) | [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 void vtkImageProperty::SetBackingColor | ( | double | , |
double | , | ||
double | |||
) | [virtual] |
Set the color of the backing polygon. The default color is black.
virtual void vtkImageProperty::SetBackingColor | ( | double | [3] | ) | [virtual] |
Set the color of the backing polygon. The default color is black.
virtual double* vtkImageProperty::GetBackingColor | ( | ) | [virtual] |
Set the color of the backing polygon. The default color is black.
virtual void vtkImageProperty::GetBackingColor | ( | double & | , |
double & | , | ||
double & | |||
) | [virtual] |
Set the color of the backing polygon. The default color is black.
virtual void vtkImageProperty::GetBackingColor | ( | double | [3] | ) | [virtual] |
Set the color of the backing polygon. The default color is black.
unsigned long vtkImageProperty::GetMTime | ( | ) | [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.
vtkScalarsToColors* vtkImageProperty::LookupTable [protected] |
Definition at line 168 of file vtkImageProperty.h.
double vtkImageProperty::ColorWindow [protected] |
Definition at line 169 of file vtkImageProperty.h.
double vtkImageProperty::ColorLevel [protected] |
Definition at line 170 of file vtkImageProperty.h.
int vtkImageProperty::UseLookupTableScalarRange [protected] |
Definition at line 171 of file vtkImageProperty.h.
int vtkImageProperty::InterpolationType [protected] |
Definition at line 172 of file vtkImageProperty.h.
int vtkImageProperty::LayerNumber [protected] |
Definition at line 173 of file vtkImageProperty.h.
double vtkImageProperty::Opacity [protected] |
Definition at line 174 of file vtkImageProperty.h.
double vtkImageProperty::Ambient [protected] |
Definition at line 175 of file vtkImageProperty.h.
double vtkImageProperty::Diffuse [protected] |
Definition at line 176 of file vtkImageProperty.h.
int vtkImageProperty::Checkerboard [protected] |
Definition at line 177 of file vtkImageProperty.h.
double vtkImageProperty::CheckerboardSpacing[2] [protected] |
Definition at line 178 of file vtkImageProperty.h.
double vtkImageProperty::CheckerboardOffset[2] [protected] |
Definition at line 179 of file vtkImageProperty.h.
int vtkImageProperty::Backing [protected] |
Definition at line 180 of file vtkImageProperty.h.
double vtkImageProperty::BackingColor[3] [protected] |
Definition at line 181 of file vtkImageProperty.h.