VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkGlyph3DMapper Class Reference

vtkGlyph3D on the GPU. More...

#include <vtkGlyph3DMapper.h>

Inheritance diagram for vtkGlyph3DMapper:
[legend]
Collaboration diagram for vtkGlyph3DMapper:
[legend]

List of all members.

Public Types

enum  ArrayIndexes { SCALE = 0, SOURCE_INDEX = 1, MASK = 2, ORIENTATION = 3 }
enum  ScaleModes { NO_DATA_SCALING = 0, SCALE_BY_MAGNITUDE = 1, SCALE_BY_COMPONENTS = 2 }
typedef vtkMapper Superclass
- Public Types inherited from vtkMapper
- Public Types inherited from vtkAbstractMapper3D
- Public Types inherited from vtkAbstractMapper
- Public Types inherited from vtkAlgorithm
- Public Types inherited from vtkObject

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetSource (int idx, vtkPolyData *pd)
void SetSource (vtkPolyData *pd)
vtkPolyDataGetSource (int idx=0)
void SetScaleModeToScaleByMagnitude ()
void SetScaleModeToScaleByVectorComponents ()
void SetScaleModeToNoDataScaling ()
const char * GetScaleModeAsString ()
virtual double * GetBounds ()
virtual void GetBounds (double bounds[6])
virtual void Render (vtkRenderer *ren, vtkActor *act)
void SetMaskArray (const char *maskarrayname)
void SetMaskArray (int fieldAttributeType)
void SetOrientationArray (const char *orientationarrayname)
void SetOrientationArray (int fieldAttributeType)
void SetScaleArray (const char *scalarsarrayname)
void SetScaleArray (int fieldAttributeType)
void SetSourceIndexArray (const char *arrayname)
void SetSourceIndexArray (int fieldAttributeType)
void SetSourceConnection (int idx, vtkAlgorithmOutput *algOutput)
void SetSourceConnection (vtkAlgorithmOutput *algOutput)
virtual void SetScaling (bool)
virtual void ScalingOn ()
virtual void ScalingOff ()
virtual bool GetScaling ()
virtual void SetScaleMode (int)
virtual int GetScaleMode ()
virtual void SetScaleFactor (double)
virtual double GetScaleFactor ()
virtual void SetRange (double, double)
void SetRange (double[2])
virtual double * GetRange ()
virtual void GetRange (double data[2])
virtual void SetOrient (bool)
virtual bool GetOrient ()
virtual void OrientOn ()
virtual void OrientOff ()
virtual void SetClamping (bool)
virtual bool GetClamping ()
virtual void ClampingOn ()
virtual void ClampingOff ()
virtual void SetSourceIndexing (bool)
virtual bool GetSourceIndexing ()
virtual void SourceIndexingOn ()
virtual void SourceIndexingOff ()
virtual void SetNestedDisplayLists (bool)
virtual bool GetNestedDisplayLists ()
virtual void NestedDisplayListsOn ()
virtual void NestedDisplayListsOff ()
virtual void SetMasking (bool)
virtual bool GetMasking ()
virtual void MaskingOn ()
virtual void MaskingOff ()
virtual void SetSelectionColorId (unsigned int)
virtual unsigned int GetSelectionColorId ()
virtual void SetSelectMode (int)
- Public Member Functions inherited from vtkMapper
void ShallowCopy (vtkAbstractMapper *m)
unsigned long GetMTime ()
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual void CreateDefaultLookupTable ()
const char * GetColorModeAsString ()
const char * GetScalarModeAsString ()
vtkUnsignedCharArrayMapScalars (double alpha)
const char * GetScalarMaterialModeAsString ()
void SetLookupTable (vtkScalarsToColors *lut)
vtkScalarsToColorsGetLookupTable ()
virtual void SetScalarVisibility (int)
virtual int GetScalarVisibility ()
virtual void ScalarVisibilityOn ()
virtual void ScalarVisibilityOff ()
virtual void SetStatic (int)
virtual int GetStatic ()
virtual void StaticOn ()
virtual void StaticOff ()
virtual void SetColorMode (int)
virtual int GetColorMode ()
void SetColorModeToDefault ()
void SetColorModeToMapScalars ()
virtual void SetInterpolateScalarsBeforeMapping (int)
virtual int GetInterpolateScalarsBeforeMapping ()
virtual void InterpolateScalarsBeforeMappingOn ()
virtual void InterpolateScalarsBeforeMappingOff ()
virtual void SetUseLookupTableScalarRange (int)
virtual int GetUseLookupTableScalarRange ()
virtual void UseLookupTableScalarRangeOn ()
virtual void UseLookupTableScalarRangeOff ()
virtual void SetScalarRange (double, double)
void SetScalarRange (double[2])
virtual double * GetScalarRange ()
virtual void GetScalarRange (double data[2])
virtual void SetImmediateModeRendering (int)
virtual int GetImmediateModeRendering ()
virtual void ImmediateModeRenderingOn ()
virtual void ImmediateModeRenderingOff ()
virtual int GetForceCompileOnly ()
void SetForceCompileOnly (int value)
virtual void SetScalarMode (int)
virtual int GetScalarMode ()
void SetScalarModeToDefault ()
void SetScalarModeToUsePointData ()
void SetScalarModeToUseCellData ()
void SetScalarModeToUsePointFieldData ()
void SetScalarModeToUseCellFieldData ()
void SetScalarModeToUseFieldData ()
void SelectColorArray (int arrayNum)
void SelectColorArray (const char *arrayName)
void ColorByArrayComponent (int arrayNum, int component)
void ColorByArrayComponent (const char *arrayName, int component)
char * GetArrayName ()
int GetArrayId ()
int GetArrayAccessMode ()
int GetArrayComponent ()
void SetRenderTime (double time)
virtual double GetRenderTime ()
vtkDataSetGetInput ()
vtkDataSetGetInputAsDataSet ()
virtual void SetScalarMaterialMode (int)
virtual int GetScalarMaterialMode ()
void SetScalarMaterialModeToDefault ()
void SetScalarMaterialModeToAmbient ()
void SetScalarMaterialModeToDiffuse ()
void SetScalarMaterialModeToAmbientAndDiffuse ()
- Public Member Functions inherited from vtkAbstractMapper3D
double GetLength ()
virtual int IsARayCastMapper ()
virtual int IsARenderIntoImageMapper ()
double * GetCenter ()
void GetCenter (double center[3])
- Public Member Functions inherited from vtkAbstractMapper
void SetClippingPlanes (vtkPlanes *planes)
virtual double GetTimeToDraw ()
void AddClippingPlane (vtkPlane *plane)
void RemoveClippingPlane (vtkPlane *plane)
void RemoveAllClippingPlanes ()
virtual void SetClippingPlanes (vtkPlaneCollection *)
virtual vtkPlaneCollectionGetClippingPlanes ()
- Public Member Functions inherited from vtkAlgorithm
int HasExecutive ()
vtkExecutiveGetExecutive ()
virtual void SetExecutive (vtkExecutive *executive)
virtual int ModifyRequest (vtkInformation *request, int when)
vtkInformationGetInputPortInformation (int port)
vtkInformationGetOutputPortInformation (int port)
int GetNumberOfInputPorts ()
int GetNumberOfOutputPorts ()
void UpdateProgress (double amount)
vtkInformationGetInputArrayInformation (int idx)
void RemoveAllInputs ()
vtkDataObjectGetOutputDataObject (int port)
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
int GetNumberOfInputConnections (int port)
int GetTotalNumberOfInputConnections ()
vtkAlgorithmOutputGetInputConnection (int port, int index)
virtual void Update ()
virtual void UpdateInformation ()
virtual void UpdateWholeExtent ()
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
virtual double ComputePriority ()
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime)
virtual vtkInformationGetInformation ()
virtual void SetInformation (vtkInformation *)
virtual void Register (vtkObjectBase *o)
virtual void UnRegister (vtkObjectBase *o)
virtual void SetAbortExecute (int)
virtual int GetAbortExecute ()
virtual void AbortExecuteOn ()
virtual void AbortExecuteOff ()
virtual void SetProgress (double)
virtual double GetProgress ()
void SetProgressText (const char *ptext)
virtual char * GetProgressText ()
virtual unsigned long GetErrorCode ()
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
vtkDataObjectGetInputDataObject (int port, int connection)
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
virtual void SetInputConnection (vtkAlgorithmOutput *input)
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
virtual void AddInputConnection (vtkAlgorithmOutput *input)
vtkAlgorithmOutputGetOutputPort (int index)
vtkAlgorithmOutputGetOutputPort ()
virtual void SetReleaseDataFlag (int)
virtual int GetReleaseDataFlag ()
void ReleaseDataFlagOn ()
void ReleaseDataFlagOff ()
int UpdateExtentIsEmpty (vtkDataObject *output)
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
- Public Member Functions inherited from vtkObject
virtual void DebugOn ()
virtual void DebugOff ()
unsigned char GetDebug ()
void SetDebug (unsigned char 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)
vtkCommandGetCommand (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)
int InvokeEvent (unsigned long event, void *callData)
int InvokeEvent (const char *event, void *callData)
int InvokeEvent (unsigned long event)
int InvokeEvent (const char *event)
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
virtual void Delete ()
virtual void FastDelete ()
void Print (ostream &os)
void SetReferenceCount (int)
void PrintRevisions (ostream &os)
virtual void PrintHeader (ostream &os, vtkIndent indent)
virtual void PrintTrailer (ostream &os, vtkIndent indent)
int GetReferenceCount ()

Static Public Member Functions

static vtkGlyph3DMapperNew ()
static int IsTypeOf (const char *type)
static vtkGlyph3DMapperSafeDownCast (vtkObject *o)
- Static Public Member Functions inherited from vtkMapper
static void SetGlobalImmediateModeRendering (int val)
static void GlobalImmediateModeRenderingOn ()
static void GlobalImmediateModeRenderingOff ()
static int GetGlobalImmediateModeRendering ()
static void SetResolveCoincidentTopology (int val)
static int GetResolveCoincidentTopology ()
static void SetResolveCoincidentTopologyToDefault ()
static void SetResolveCoincidentTopologyToOff ()
static void SetResolveCoincidentTopologyToPolygonOffset ()
static void SetResolveCoincidentTopologyToShiftZBuffer ()
static void SetResolveCoincidentTopologyPolygonOffsetParameters (double factor, double units)
static void GetResolveCoincidentTopologyPolygonOffsetParameters (double &factor, double &units)
static void SetResolveCoincidentTopologyPolygonOffsetFaces (int faces)
static int GetResolveCoincidentTopologyPolygonOffsetFaces ()
static void SetResolveCoincidentTopologyZShift (double val)
static double GetResolveCoincidentTopologyZShift ()

Protected Member Functions

virtual int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
virtual int FillInputPortInformation (int port, vtkInformation *info)
vtkPolyDataGetSource (int idx, vtkInformationVector *sourceInfo)
vtkDataArrayGetMaskArray (vtkDataSet *input)
vtkDataArrayGetSourceIndexArray (vtkDataSet *input)
vtkDataArrayGetOrientationArray (vtkDataSet *input)
vtkDataArrayGetScaleArray (vtkDataSet *input)
vtkUnsignedCharArrayGetColors (vtkDataSet *input)
- Protected Member Functions inherited from vtkMapper
void MapScalarsToTexture (vtkDataArray *scalars, double alpha)
 vtkMapper ()
 ~vtkMapper ()
- Protected Member Functions inherited from vtkAbstractMapper3D
 vtkAbstractMapper3D ()
 ~vtkAbstractMapper3D ()
- Protected Member Functions inherited from vtkAbstractMapper
 vtkAbstractMapper ()
 ~vtkAbstractMapper ()
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 ~vtkAlgorithm ()
virtual int FillOutputPortInformation (int port, vtkInformation *info)
virtual void SetNumberOfInputPorts (int n)
virtual void SetNumberOfOutputPorts (int n)
int InputPortIndexInRange (int index, const char *action)
int OutputPortIndexInRange (int index, const char *action)
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
virtual vtkExecutiveCreateDefaultExecutive ()
virtual void ReportReferences (vtkGarbageCollector *)
virtual void SetNumberOfInputConnections (int port, int n)
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
int GetInputArrayAssociation (int idx, vtkDataObject *input)
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
virtual void SetErrorCode (unsigned long)
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

Protected Attributes

bool Scaling
double ScaleFactor
int ScaleMode
double Range [2]
bool Orient
bool Clamping
bool SourceIndexing
bool Masking
int OrientationMode
bool NestedDisplayLists
unsigned int SelectionColorId
int SelectMode
- Protected Attributes inherited from vtkMapper
vtkUnsignedCharArrayColors
int InterpolateScalarsBeforeMapping
vtkFloatArrayColorCoordinates
vtkImageDataColorTextureMap
vtkScalarsToColorsLookupTable
int ScalarVisibility
vtkTimeStamp BuildTime
double ScalarRange [2]
int UseLookupTableScalarRange
int ImmediateModeRendering
int ColorMode
int ScalarMode
int ScalarMaterialMode
double RenderTime
int ArrayId
char ArrayName [256]
int ArrayComponent
int ArrayAccessMode
int Static
int ForceCompileOnly
- Protected Attributes inherited from vtkAbstractMapper3D
double Bounds [6]
double Center [3]
- Protected Attributes inherited from vtkAbstractMapper
vtkTimerLogTimer
double TimeToDraw
vtkWindowLastWindow
vtkPlaneCollectionClippingPlanes
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
double Progress
char * ProgressText
unsigned long ErrorCode
- Protected Attributes inherited from vtkObject
unsigned char Debug
vtkTimeStamp MTime
vtkSubjectHelper * SubjectHelper
- Protected Attributes inherited from vtkObjectBase
int ReferenceCount
vtkWeakPointerBase ** WeakPointers
enum  OrientationModes { DIRECTION = 0, ROTATION = 1 }
virtual void SetOrientationMode (int)
virtual int GetOrientationMode ()
void SetOrientationModeToDirection ()
void SetOrientationModeToRotation ()
const char * GetOrientationModeAsString ()
virtual bool GetSupportsSelection ()
 vtkGlyph3DMapper ()
 ~vtkGlyph3DMapper ()

Detailed Description

vtkGlyph3D on the GPU.

Do the same job than vtkGlyph3D but on the GPU. For this reason, it is a mapper not a vtkPolyDataAlgorithm. Also, some methods of vtkGlyph3D don't make sense in vtkGlyph3DMapper: GeneratePointIds, old-style SetSource, PointIdsName, IsPointVisible.

See also:
vtkGlyph3D
Tests:
vtkGlyph3DMapper (Tests)

Definition at line 37 of file vtkGlyph3DMapper.h.


Member Typedef Documentation

Reimplemented from vtkMapper.

Reimplemented in vtkOpenGLGlyph3DMapper.

Definition at line 41 of file vtkGlyph3DMapper.h.


Member Enumeration Documentation

Enumerator:
SCALE 
SOURCE_INDEX 
MASK 
ORIENTATION 

Definition at line 44 of file vtkGlyph3DMapper.h.

Enumerator:
NO_DATA_SCALING 
SCALE_BY_MAGNITUDE 
SCALE_BY_COMPONENTS 

Definition at line 100 of file vtkGlyph3DMapper.h.

Orientation mode indicates if the OrientationArray provides the direction vector for the orientation or the rotations around each axes. Default is DIRECTION

Enumerator:
DIRECTION 
ROTATION 

Definition at line 141 of file vtkGlyph3DMapper.h.


Constructor & Destructor Documentation

vtkGlyph3DMapper::vtkGlyph3DMapper ( )
protected

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by vtkHardwareSelector to determine if the prop supports hardware selection.

vtkGlyph3DMapper::~vtkGlyph3DMapper ( )
protected

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by vtkHardwareSelector to determine if the prop supports hardware selection.


Member Function Documentation

static vtkGlyph3DMapper* vtkGlyph3DMapper::New ( )
static

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

Reimplemented in vtkOpenGLGlyph3DMapper.

virtual const char* vtkGlyph3DMapper::GetClassName ( )
virtual

Reimplemented from vtkMapper.

Reimplemented in vtkOpenGLGlyph3DMapper.

static int vtkGlyph3DMapper::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 vtkMapper.

Reimplemented in vtkOpenGLGlyph3DMapper.

virtual int vtkGlyph3DMapper::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 vtkMapper.

Reimplemented in vtkOpenGLGlyph3DMapper.

static vtkGlyph3DMapper* vtkGlyph3DMapper::SafeDownCast ( vtkObject o)
static

Reimplemented from vtkMapper.

Reimplemented in vtkOpenGLGlyph3DMapper.

void vtkGlyph3DMapper::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 vtkMapper.

Reimplemented in vtkOpenGLGlyph3DMapper.

void vtkGlyph3DMapper::SetSourceConnection ( int  idx,
vtkAlgorithmOutput algOutput 
)

Specify a source object at a specified table location. New style. Source connection is stored in port 1. This method is equivalent to SetInputConnection(1, id, outputPort).

void vtkGlyph3DMapper::SetSourceConnection ( vtkAlgorithmOutput algOutput)
inline

Specify a source object at a specified table location. New style. Source connection is stored in port 1. This method is equivalent to SetInputConnection(1, id, outputPort).

Definition at line 58 of file vtkGlyph3DMapper.h.

void vtkGlyph3DMapper::SetSource ( int  idx,
vtkPolyData pd 
)

Specify a source object at a specified table location.

void vtkGlyph3DMapper::SetSource ( vtkPolyData pd)

Set the source to use for he glyph. Old style. See SetSourceConnection.

vtkPolyData* vtkGlyph3DMapper::GetSource ( int  idx = 0)

Get a pointer to a source object at a specified table location.

virtual void vtkGlyph3DMapper::SetScaling ( bool  )
virtual

Turn on/off scaling of source geometry. When turned on, ScaleFactor controls the scale applied. To scale with some data array, ScaleMode should be set accordingly.

virtual void vtkGlyph3DMapper::ScalingOn ( )
virtual

Turn on/off scaling of source geometry. When turned on, ScaleFactor controls the scale applied. To scale with some data array, ScaleMode should be set accordingly.

virtual void vtkGlyph3DMapper::ScalingOff ( )
virtual

Turn on/off scaling of source geometry. When turned on, ScaleFactor controls the scale applied. To scale with some data array, ScaleMode should be set accordingly.

virtual bool vtkGlyph3DMapper::GetScaling ( )
virtual

Turn on/off scaling of source geometry. When turned on, ScaleFactor controls the scale applied. To scale with some data array, ScaleMode should be set accordingly.

virtual void vtkGlyph3DMapper::SetScaleMode ( int  )
virtual

Either scale by individual components (SCALE_BY_COMPONENTS) or magnitude (SCALE_BY_MAGNITUDE) of the chosen array to SCALE with or disable scaling using data array all together (NO_DATA_SCALING). Default is NO_DATA_SCALING.

virtual int vtkGlyph3DMapper::GetScaleMode ( )
virtual

Either scale by individual components (SCALE_BY_COMPONENTS) or magnitude (SCALE_BY_MAGNITUDE) of the chosen array to SCALE with or disable scaling using data array all together (NO_DATA_SCALING). Default is NO_DATA_SCALING.

virtual void vtkGlyph3DMapper::SetScaleFactor ( double  )
virtual

Specify scale factor to scale object by. This is used only when Scaling is On.

virtual double vtkGlyph3DMapper::GetScaleFactor ( )
virtual

Specify scale factor to scale object by. This is used only when Scaling is On.

void vtkGlyph3DMapper::SetScaleModeToScaleByMagnitude ( )
inline

Definition at line 107 of file vtkGlyph3DMapper.h.

void vtkGlyph3DMapper::SetScaleModeToScaleByVectorComponents ( )
inline

Definition at line 109 of file vtkGlyph3DMapper.h.

void vtkGlyph3DMapper::SetScaleModeToNoDataScaling ( )
inline

Definition at line 111 of file vtkGlyph3DMapper.h.

const char* vtkGlyph3DMapper::GetScaleModeAsString ( )
virtual void vtkGlyph3DMapper::SetRange ( double  ,
double   
)
virtual

Specify range to map scalar values into.

void vtkGlyph3DMapper::SetRange ( double  [2])

Specify range to map scalar values into.

virtual double* vtkGlyph3DMapper::GetRange ( )
virtual

Specify range to map scalar values into.

virtual void vtkGlyph3DMapper::GetRange ( double  data[2])
virtual

Specify range to map scalar values into.

virtual void vtkGlyph3DMapper::SetOrient ( bool  )
virtual

Turn on/off orienting of input geometry. When turned on, the orientation array specified using SetOrientationArray() will be used.

virtual bool vtkGlyph3DMapper::GetOrient ( )
virtual

Turn on/off orienting of input geometry. When turned on, the orientation array specified using SetOrientationArray() will be used.

virtual void vtkGlyph3DMapper::OrientOn ( )
virtual

Turn on/off orienting of input geometry. When turned on, the orientation array specified using SetOrientationArray() will be used.

virtual void vtkGlyph3DMapper::OrientOff ( )
virtual

Turn on/off orienting of input geometry. When turned on, the orientation array specified using SetOrientationArray() will be used.

virtual void vtkGlyph3DMapper::SetOrientationMode ( int  )
virtual

Orientation mode indicates if the OrientationArray provides the direction vector for the orientation or the rotations around each axes. Default is DIRECTION

virtual int vtkGlyph3DMapper::GetOrientationMode ( )
virtual

Orientation mode indicates if the OrientationArray provides the direction vector for the orientation or the rotations around each axes. Default is DIRECTION

void vtkGlyph3DMapper::SetOrientationModeToDirection ( )
inline

Orientation mode indicates if the OrientationArray provides the direction vector for the orientation or the rotations around each axes. Default is DIRECTION

Definition at line 135 of file vtkGlyph3DMapper.h.

void vtkGlyph3DMapper::SetOrientationModeToRotation ( )
inline

Orientation mode indicates if the OrientationArray provides the direction vector for the orientation or the rotations around each axes. Default is DIRECTION

Definition at line 137 of file vtkGlyph3DMapper.h.

const char* vtkGlyph3DMapper::GetOrientationModeAsString ( )

Orientation mode indicates if the OrientationArray provides the direction vector for the orientation or the rotations around each axes. Default is DIRECTION

virtual void vtkGlyph3DMapper::SetClamping ( bool  )
virtual

Turn on/off clamping of data values to scale with to the specified range.

virtual bool vtkGlyph3DMapper::GetClamping ( )
virtual

Turn on/off clamping of data values to scale with to the specified range.

virtual void vtkGlyph3DMapper::ClampingOn ( )
virtual

Turn on/off clamping of data values to scale with to the specified range.

virtual void vtkGlyph3DMapper::ClampingOff ( )
virtual

Turn on/off clamping of data values to scale with to the specified range.

virtual void vtkGlyph3DMapper::SetSourceIndexing ( bool  )
virtual

Enable/disable indexing into table of the glyph sources. When disabled, only the 1st source input will be used to generate the glyph. Otherwise the source index array will be used to select the glyph source. The source index array can be specified using SetSourceIndexArray().

virtual bool vtkGlyph3DMapper::GetSourceIndexing ( )
virtual

Enable/disable indexing into table of the glyph sources. When disabled, only the 1st source input will be used to generate the glyph. Otherwise the source index array will be used to select the glyph source. The source index array can be specified using SetSourceIndexArray().

virtual void vtkGlyph3DMapper::SourceIndexingOn ( )
virtual

Enable/disable indexing into table of the glyph sources. When disabled, only the 1st source input will be used to generate the glyph. Otherwise the source index array will be used to select the glyph source. The source index array can be specified using SetSourceIndexArray().

virtual void vtkGlyph3DMapper::SourceIndexingOff ( )
virtual

Enable/disable indexing into table of the glyph sources. When disabled, only the 1st source input will be used to generate the glyph. Otherwise the source index array will be used to select the glyph source. The source index array can be specified using SetSourceIndexArray().

virtual double* vtkGlyph3DMapper::GetBounds ( )
virtual

Redefined to take into account the bounds of the scaled glyphs.

Reimplemented from vtkMapper.

virtual void vtkGlyph3DMapper::GetBounds ( double  bounds[6])
virtual

Same as superclass. Appear again to stop warnings about hidden method.

Reimplemented from vtkMapper.

virtual void vtkGlyph3DMapper::Render ( vtkRenderer ren,
vtkActor act 
)
virtual

All the work is done is derived classes.

Implements vtkMapper.

Reimplemented in vtkOpenGLGlyph3DMapper.

virtual void vtkGlyph3DMapper::SetNestedDisplayLists ( bool  )
virtual

If immediate mode is off, if NestedDisplayLists is false, only the mappers of each glyph use display lists. If true, in addition, matrices transforms and color per glyph are also in a parent display list. Not relevant if immediate mode is on. For debugging/profiling purpose. Initial value is true.

virtual bool vtkGlyph3DMapper::GetNestedDisplayLists ( )
virtual

If immediate mode is off, if NestedDisplayLists is false, only the mappers of each glyph use display lists. If true, in addition, matrices transforms and color per glyph are also in a parent display list. Not relevant if immediate mode is on. For debugging/profiling purpose. Initial value is true.

virtual void vtkGlyph3DMapper::NestedDisplayListsOn ( )
virtual

If immediate mode is off, if NestedDisplayLists is false, only the mappers of each glyph use display lists. If true, in addition, matrices transforms and color per glyph are also in a parent display list. Not relevant if immediate mode is on. For debugging/profiling purpose. Initial value is true.

virtual void vtkGlyph3DMapper::NestedDisplayListsOff ( )
virtual

If immediate mode is off, if NestedDisplayLists is false, only the mappers of each glyph use display lists. If true, in addition, matrices transforms and color per glyph are also in a parent display list. Not relevant if immediate mode is on. For debugging/profiling purpose. Initial value is true.

virtual void vtkGlyph3DMapper::SetMasking ( bool  )
virtual

Tells the mapper to skip glyphing input points that haves false values in the mask array. If there is no mask array (id access mode is set and there is no such id, or array name access mode is set and the there is no such name), masking is silently ignored. A mask array is a vtkBitArray with only one component. Initial value is false.

virtual bool vtkGlyph3DMapper::GetMasking ( )
virtual

Tells the mapper to skip glyphing input points that haves false values in the mask array. If there is no mask array (id access mode is set and there is no such id, or array name access mode is set and the there is no such name), masking is silently ignored. A mask array is a vtkBitArray with only one component. Initial value is false.

virtual void vtkGlyph3DMapper::MaskingOn ( )
virtual

Tells the mapper to skip glyphing input points that haves false values in the mask array. If there is no mask array (id access mode is set and there is no such id, or array name access mode is set and the there is no such name), masking is silently ignored. A mask array is a vtkBitArray with only one component. Initial value is false.

virtual void vtkGlyph3DMapper::MaskingOff ( )
virtual

Tells the mapper to skip glyphing input points that haves false values in the mask array. If there is no mask array (id access mode is set and there is no such id, or array name access mode is set and the there is no such name), masking is silently ignored. A mask array is a vtkBitArray with only one component. Initial value is false.

void vtkGlyph3DMapper::SetMaskArray ( const char *  maskarrayname)

Set the name of the point array to use as a mask for generating the glyphs. This is a convenience method. The same effect can be achieved by using SetInputArrayToProcess(vtkGlyph3DMapper::MASK, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS, maskarrayname)

void vtkGlyph3DMapper::SetMaskArray ( int  fieldAttributeType)

Set the point attribute to use as a mask for generating the glyphs. fieldAttributeType is one of the following:

void vtkGlyph3DMapper::SetOrientationArray ( const char *  orientationarrayname)

Tells the mapper to use an orientation array if Orient is true. An orientation array is a vtkDataArray with 3 components. The first component is the angle of rotation along the X axis. The second component is the angle of rotation along the Y axis. The third component is the angle of rotation along the Z axis. Orientation is specified in X,Y,Z order but the rotations are performed in Z,X an Y. This definition is compliant with SetOrientation method on vtkProp3D. By using vector or normal there is a degree of freedom or rotation left (underconstrained). With the orientation array, there is no degree of freedom left. This is convenience method. The same effect can be achieved by using SetInputArrayToProcess(vtkGlyph3DMapper::ORIENTATION, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS, orientationarrayname);

void vtkGlyph3DMapper::SetOrientationArray ( int  fieldAttributeType)

Tells the mapper to use an orientation array if Orient is true. An orientation array is a vtkDataArray with 3 components. The first component is the angle of rotation along the X axis. The second component is the angle of rotation along the Y axis. The third component is the angle of rotation along the Z axis. Orientation is specified in X,Y,Z order but the rotations are performed in Z,X an Y. This definition is compliant with SetOrientation method on vtkProp3D. By using vector or normal there is a degree of freedom or rotation left (underconstrained). With the orientation array, there is no degree of freedom left. fieldAttributeType is one of the following:

void vtkGlyph3DMapper::SetScaleArray ( const char *  scalarsarrayname)

Convenience method to set the array to scale with. This is same as calling SetInputArrayToProcess(vtkGlyph3DMapper::SCALE, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS, scalarsarrayname).

void vtkGlyph3DMapper::SetScaleArray ( int  fieldAttributeType)

Convenience method to set the array to scale with. This is same as calling SetInputArrayToProcess(vtkGlyph3DMapper::SCALE, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS, fieldAttributeType).

void vtkGlyph3DMapper::SetSourceIndexArray ( const char *  arrayname)

Convenience method to set the array to use as index within the sources. This is same as calling SetInputArrayToProcess(vtkGlyph3DMapper::SOURCE_INDEX, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS, arrayname).

void vtkGlyph3DMapper::SetSourceIndexArray ( int  fieldAttributeType)

Convenience method to set the array to use as index within the sources. This is same as calling SetInputArrayToProcess(vtkGlyph3DMapper::SOURCE_INDEX, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS, fieldAttributeType).

virtual void vtkGlyph3DMapper::SetSelectionColorId ( unsigned  int)
virtual

For selection by color id mode (not for end-user, called by vtkGlyphSelectionRenderMode). 0 is reserved for miss. it has to start at 1. Initial value is 1.

virtual unsigned int vtkGlyph3DMapper::GetSelectionColorId ( )
virtual

For selection by color id mode (not for end-user, called by vtkGlyphSelectionRenderMode). 0 is reserved for miss. it has to start at 1. Initial value is 1.

virtual void vtkGlyph3DMapper::SetSelectMode ( int  )
virtual

Called by vtkGlyphSelectionRenderMode.

virtual bool vtkGlyph3DMapper::GetSupportsSelection ( )
inlinevirtual

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by vtkHardwareSelector to determine if the prop supports hardware selection.

Reimplemented from vtkMapper.

Definition at line 289 of file vtkGlyph3DMapper.h.

virtual int vtkGlyph3DMapper::RequestUpdateExtent ( vtkInformation request,
vtkInformationVector **  inInfo,
vtkInformationVector outInfo 
)
protectedvirtual
virtual int vtkGlyph3DMapper::FillInputPortInformation ( int  port,
vtkInformation info 
)
protectedvirtual

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkAlgorithm.

vtkPolyData* vtkGlyph3DMapper::GetSource ( int  idx,
vtkInformationVector sourceInfo 
)
protected
vtkDataArray* vtkGlyph3DMapper::GetMaskArray ( vtkDataSet input)
protected

Convenience methods to get each of the arrays.

vtkDataArray* vtkGlyph3DMapper::GetSourceIndexArray ( vtkDataSet input)
protected

Convenience methods to get each of the arrays.

vtkDataArray* vtkGlyph3DMapper::GetOrientationArray ( vtkDataSet input)
protected

Convenience methods to get each of the arrays.

vtkDataArray* vtkGlyph3DMapper::GetScaleArray ( vtkDataSet input)
protected

Convenience methods to get each of the arrays.

vtkUnsignedCharArray* vtkGlyph3DMapper::GetColors ( vtkDataSet input)
protected

Convenience methods to get each of the arrays.


Member Data Documentation

bool vtkGlyph3DMapper::Scaling
protected

Definition at line 315 of file vtkGlyph3DMapper.h.

double vtkGlyph3DMapper::ScaleFactor
protected

Definition at line 316 of file vtkGlyph3DMapper.h.

int vtkGlyph3DMapper::ScaleMode
protected

Definition at line 317 of file vtkGlyph3DMapper.h.

double vtkGlyph3DMapper::Range[2]
protected

Definition at line 319 of file vtkGlyph3DMapper.h.

bool vtkGlyph3DMapper::Orient
protected

Definition at line 320 of file vtkGlyph3DMapper.h.

bool vtkGlyph3DMapper::Clamping
protected

Definition at line 321 of file vtkGlyph3DMapper.h.

bool vtkGlyph3DMapper::SourceIndexing
protected

Definition at line 322 of file vtkGlyph3DMapper.h.

bool vtkGlyph3DMapper::Masking
protected

Definition at line 323 of file vtkGlyph3DMapper.h.

int vtkGlyph3DMapper::OrientationMode
protected

Definition at line 324 of file vtkGlyph3DMapper.h.

bool vtkGlyph3DMapper::NestedDisplayLists
protected

Definition at line 325 of file vtkGlyph3DMapper.h.

unsigned int vtkGlyph3DMapper::SelectionColorId
protected

Definition at line 327 of file vtkGlyph3DMapper.h.

int vtkGlyph3DMapper::SelectMode
protected

Definition at line 328 of file vtkGlyph3DMapper.h.


The documentation for this class was generated from the following file: