Shape that represents an individual control node in a 2D transfer function. More...
#include <vtkPVTransferFunction2DBox.h>


Public Member Functions | |
| virtual const vtkRectd & | GetBox () |
| Returns the current box as [x0, y0, width, height]. More... | |
| virtual vtkImageData * | GetTexture () |
| Get the texture for this box item. More... | |
| virtual void | SetBox (double x, double y, double width, double height) |
| Set position and width with respect to origin i.e. More... | |
| virtual void | SetBox (const vtkRectd &b) |
| Set position and width with respect to origin i.e. More... | |
| virtual void | SetColor (double, double, double, double) |
| Set/Get the color (r,g,b,a) to be used for this box. More... | |
| virtual void | SetColor (double [4]) |
| Set/Get the color (r,g,b,a) to be used for this box. More... | |
| virtual double * | GetColor () |
| Set/Get the color (r,g,b,a) to be used for this box. More... | |
| virtual void | GetColor (double &, double &, double &, double &) |
| Set/Get the color (r,g,b,a) to be used for this box. More... | |
| virtual void | GetColor (double [4]) |
| Set/Get the color (r,g,b,a) to be used for this box. More... | |
| virtual void | SetTextureSize (int, int) |
| Set/Get the texture size of the box. More... | |
| void | SetTextureSize (int [2]) |
| Set/Get the texture size of the box. More... | |
| virtual int * | GetTextureSize () |
| Set/Get the texture size of the box. More... | |
| virtual void | GetTextureSize (int &, int &) |
| Set/Get the texture size of the box. More... | |
| virtual void | GetTextureSize (int [2]) |
| Set/Get the texture size of the box. More... | |
| virtual void | SetGaussianSigmaFactor (double) |
| Set/Get the standard deviation for the gaussian function. More... | |
| virtual double | GetGaussianSigmaFactor () |
| Set/Get the standard deviation for the gaussian function. More... | |
Public Member Functions inherited from vtkObject | |
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
| virtual void | DebugOn () |
| virtual void | DebugOff () |
| bool | GetDebug () |
| void | SetDebug (bool debugFlag) |
| virtual void | Modified () |
| virtual vtkMTimeType | GetMTime () |
| 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) |
| int | InvokeEvent (unsigned long event) |
| int | InvokeEvent (const char *event) |
| 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 *) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| 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) |
| 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 *) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| 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) |
Public Member Functions inherited from vtkObjectBase | |
| 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) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
| void | PrintRevisions (ostream &) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
| void | PrintRevisions (ostream &) |
Static Public Member Functions | |
| static vtkPVTransferFunction2DBox * | New () |
| Instantiate the class. More... | |
Static Public Member Functions inherited from vtkObject | |
| static vtkObject * | New () |
| static void | BreakOnError () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
| static vtkTypeBool | IsTypeOf (const char *name) |
| static vtkObjectBase * | New () |
| static vtkObjectBase * | New () |
Protected Member Functions | |
| vtkPVTransferFunction2DBox () | |
| ~vtkPVTransferFunction2DBox () override | |
| virtual void | ComputeTexture () |
| Internal method to compute texture. More... | |
Protected Member Functions inherited from vtkObject | |
| vtkObject () | |
| virtual | ~vtkObject () |
| void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
| void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
| void | InternalReleaseFocus () |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
| void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
| vtkObjectBase () | |
| virtual | ~vtkObjectBase () |
| virtual void | CollectRevisions (ostream &) |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| vtkObjectBase (const vtkObjectBase &) | |
| void | operator= (const vtkObjectBase &) |
Protected Attributes | |
| vtkRectd | Box |
| double | Color [4] = { 1, 1, 1, 1 } |
| int | TextureSize [2] = { 128, 128 } |
| double | GaussianSigmaFactor = 30.0 |
| vtkImageData * | Texture = nullptr |
Protected Attributes inherited from vtkObject | |
| bool | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| vtkAtomicInt32 | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
| typedef vtkObject | Superclass |
| Standard methods for the VTK class. More... | |
| static int | IsTypeOf (const char *type) |
| Standard methods for the VTK class. More... | |
| static vtkPVTransferFunction2DBox * | SafeDownCast (vtkObject *o) |
| Standard methods for the VTK class. More... | |
| virtual const char * | GetClassName () |
| Standard methods for the VTK class. More... | |
| virtual int | IsA (const char *type) |
| Standard methods for the VTK class. More... | |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| Standard methods for the VTK class. More... | |
Shape that represents an individual control node in a 2D transfer function.
Definition at line 22 of file vtkPVTransferFunction2DBox.h.
Standard methods for the VTK class.
Definition at line 34 of file vtkPVTransferFunction2DBox.h.
|
protected |
|
overrideprotected |
|
static |
Instantiate the class.
|
virtual |
Standard methods for the VTK class.
Standard methods for the VTK class.
Standard methods for the VTK class.
Reimplemented from vtkObjectBase.
|
static |
Standard methods for the VTK class.
|
overridevirtual |
Standard methods for the VTK class.
Reimplemented from vtkObject.
Returns the current box as [x0, y0, width, height].
|
virtual |
Set position and width with respect to origin i.e.
bottom left corner.
Set position and width with respect to origin i.e.
bottom left corner.
Set/Get the color (r,g,b,a) to be used for this box.
Defaults to opaque white (1, 1, 1, 1).
|
virtual |
Set/Get the color (r,g,b,a) to be used for this box.
Defaults to opaque white (1, 1, 1, 1).
|
virtual |
Set/Get the color (r,g,b,a) to be used for this box.
Defaults to opaque white (1, 1, 1, 1).
|
virtual |
Set/Get the color (r,g,b,a) to be used for this box.
Defaults to opaque white (1, 1, 1, 1).
|
virtual |
Set/Get the color (r,g,b,a) to be used for this box.
Defaults to opaque white (1, 1, 1, 1).
|
virtual |
Get the texture for this box item.
The texture will be computed, if needed.
Set/Get the texture size of the box.
Defaults to (128, 128).
| void vtkPVTransferFunction2DBox::SetTextureSize | ( | int | [2] | ) |
Set/Get the texture size of the box.
Defaults to (128, 128).
|
virtual |
Set/Get the texture size of the box.
Defaults to (128, 128).
Set/Get the texture size of the box.
Defaults to (128, 128).
|
virtual |
Set/Get the texture size of the box.
Defaults to (128, 128).
|
virtual |
Set/Get the standard deviation for the gaussian function.
Defaults to 30.
|
virtual |
Set/Get the standard deviation for the gaussian function.
Defaults to 30.
|
protectedvirtual |
Internal method to compute texture.
|
protected |
Definition at line 89 of file vtkPVTransferFunction2DBox.h.
|
protected |
Definition at line 90 of file vtkPVTransferFunction2DBox.h.
|
protected |
Definition at line 91 of file vtkPVTransferFunction2DBox.h.
|
protected |
Definition at line 92 of file vtkPVTransferFunction2DBox.h.
|
protected |
Definition at line 94 of file vtkPVTransferFunction2DBox.h.
1.8.13 on Tue Dec 9 2025