ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkScatterPlotPainter Class Reference

#include <vtkScatterPlotPainter.h>

Inherits vtkPainter.

Public Types

typedef vtkPainter Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkMTimeType GetMTime ()
 
virtual void SetSourceGlyphMappers (vtkCollection *)
 
virtual vtkCollection * GetSourceGlyphMappers ()
 
virtual void ReleaseGraphicsResources (vtkWindow *window)
 Release any graphics resources that are being consumed by this mapper. More...
 
virtual void UpdateBounds (double bounds[6])
 
vtkInformation * GetInputArrayInformation (int idx)
 
vtkDataArray * GetArray (int idx)
 See vtkScatterPlotMapper::ArrayIndex. More...
 
vtkDataArray * GetArray (int idx, vtkDataSet *input)
 See vtkScatterPlotMapper::ArrayIndex. More...
 
int GetArrayComponent (int idx)
 See vtkScatterPlotMapper::ArrayIndex. More...
 

Static Public Member Functions

static vtkScatterPlotPainterNew ()
 
static int IsTypeOf (const char *type)
 
static vtkScatterPlotPainterSafeDownCast (vtkObject *o)
 
static vtkInformationIntegerKey * THREED_MODE ()
 
static vtkInformationIntegerKey * COLORIZE ()
 
static vtkInformationIntegerKey * GLYPH_MODE ()
 
static vtkInformationIntegerKey * SCALING_ARRAY_MODE ()
 
static vtkInformationIntegerKey * SCALE_MODE ()
 
static vtkInformationDoubleKey * SCALE_FACTOR ()
 
static vtkInformationIntegerKey * ORIENTATION_MODE ()
 
static vtkInformationIntegerKey * NESTED_DISPLAY_LISTS ()
 
static vtkInformationIntegerKey * PARALLEL_TO_CAMERA ()
 

Protected Member Functions

virtual void SetOrientationMode (int)
 
virtual int GetOrientationMode ()
 
virtual void SetParallelToCamera (int)
 
virtual int GetParallelToCamera ()
 
virtual void ParallelToCameraOn ()
 
virtual void ParallelToCameraOff ()
 
virtual void SetLookupTable (vtkScalarsToColors *)
 
virtual vtkScalarsToColors * GetLookupTable ()
 
vtkPolyData * GetGlyphSource (int id=0)
 Get a pointer to a source object at a specified table location. More...
 
virtual void RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
 Method initiates the mapping process. More...
 
 vtkScatterPlotPainter ()
 
virtual ~vtkScatterPlotPainter ()
 
virtual void UpdatePainterInformation ()
 Called when the PainterInformation becomes obsolete. More...
 
vtkUnsignedCharArray * GetColors ()
 Convenience methods to get each of the arrays. More...
 
virtual void PrepareForRendering (vtkRenderer *renderer, vtkActor *actor)
 
void RenderPoints (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
 
void RenderGlyphs (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
 
void ReleaseDisplayList ()
 Release display list used for matrices and color. More...
 
virtual void SetThreeDMode (int)
 Enable or not the third (z) coordinate for 3D rendering (instead of 2D). More...
 
virtual int GetThreeDMode ()
 Enable or not the third (z) coordinate for 3D rendering (instead of 2D). More...
 
virtual void ThreeDModeOn ()
 Enable or not the third (z) coordinate for 3D rendering (instead of 2D). More...
 
virtual void ThreeDModeOff ()
 Enable or not the third (z) coordinate for 3D rendering (instead of 2D). More...
 
virtual void SetColorize (int)
 Enable or not the color painting at each point. More...
 
virtual int GetColorize ()
 Enable or not the color painting at each point. More...
 
virtual void ColorizeOn ()
 Enable or not the color painting at each point. More...
 
virtual void ColorizeOff ()
 Enable or not the color painting at each point. More...
 
virtual void SetGlyphMode (int)
 Enable or not the Glyph representation at each point. More...
 
virtual int GetGlyphMode ()
 Enable or not the Glyph representation at each point. More...
 
virtual void SetScalingArrayMode (int)
 If the GlyphMode has ScaledGlyph turned on, ScalingArrayMode describes how to data in the different GLYPH_[X,Y,Z]_SCALE arrays. More...
 
virtual int GetScalingArrayMode ()
 If the GlyphMode has ScaledGlyph turned on, ScalingArrayMode describes how to data in the different GLYPH_[X,Y,Z]_SCALE arrays. More...
 
virtual void SetScaleMode (int)
 If the GlyphMode has ScaledGlyph turned on, decide how to scale the glyph. More...
 
virtual int GetScaleMode ()
 If the GlyphMode has ScaledGlyph turned on, decide how to scale the glyph. More...
 
virtual void SetScaleFactor (double)
 Specify scale factor to scale object by. More...
 
virtual double GetScaleFactor ()
 Specify scale factor to scale object by. More...
 
virtual void SetNestedDisplayLists (int)
 If immediate mode is off, if Glyphs are in use and if NestedDisplayLists is false, only the mappers of each glyph use display lists. More...
 
virtual int GetNestedDisplayLists ()
 If immediate mode is off, if Glyphs are in use and if NestedDisplayLists is false, only the mappers of each glyph use display lists. More...
 
virtual void NestedDisplayListsOn ()
 If immediate mode is off, if Glyphs are in use and if NestedDisplayLists is false, only the mappers of each glyph use display lists. More...
 
virtual void NestedDisplayListsOff ()
 If immediate mode is off, if Glyphs are in use and if NestedDisplayLists is false, only the mappers of each glyph use display lists. More...
 
virtual void ReportReferences (vtkGarbageCollector *collector)
 Take part in garbage collection. More...
 
virtual void ProcessInformation (vtkInformation *info)
 Take part in garbage collection. More...
 

Protected Attributes

int ThreeDMode
 
int Colorize
 
int GlyphMode
 
double ScaleFactor
 
int ScaleMode
 
int ScalingArrayMode
 
int OrientationMode
 
int NestedDisplayLists
 
unsigned int DisplayListId
 
int ParallelToCamera
 
vtkCollection * SourceGlyphMappers
 
vtkScalarsToColorsPainter * ScalarsToColorsPainter
 
vtkTimeStamp ColorPainterUpdateTime
 
vtkTimeStamp BuildTime
 
unsigned int SelectionColorId
 
int SelectMode
 
vtkScalarsToColors * LookupTable
 

Detailed Description

Definition at line 43 of file vtkScatterPlotPainter.h.

Member Typedef Documentation

§ Superclass

Definition at line 47 of file vtkScatterPlotPainter.h.

Constructor & Destructor Documentation

§ vtkScatterPlotPainter()

vtkScatterPlotPainter::vtkScatterPlotPainter ( )
protected

§ ~vtkScatterPlotPainter()

virtual vtkScatterPlotPainter::~vtkScatterPlotPainter ( )
protectedvirtual

Member Function Documentation

§ New()

static vtkScatterPlotPainter* vtkScatterPlotPainter::New ( )
static

§ GetClassName()

virtual const char* vtkScatterPlotPainter::GetClassName ( )
virtual

§ IsTypeOf()

static int vtkScatterPlotPainter::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkScatterPlotPainter::IsA ( const char *  type)
virtual

§ SafeDownCast()

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

§ PrintSelf()

void vtkScatterPlotPainter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ GetMTime()

virtual vtkMTimeType vtkScatterPlotPainter::GetMTime ( )
virtual

§ GetArray() [1/2]

vtkDataArray* vtkScatterPlotPainter::GetArray ( int  idx)

§ GetArray() [2/2]

vtkDataArray* vtkScatterPlotPainter::GetArray ( int  idx,
vtkDataSet *  input 
)

§ GetArrayComponent()

int vtkScatterPlotPainter::GetArrayComponent ( int  idx)

§ THREED_MODE()

static vtkInformationIntegerKey* vtkScatterPlotPainter::THREED_MODE ( )
static

§ COLORIZE()

static vtkInformationIntegerKey* vtkScatterPlotPainter::COLORIZE ( )
static

§ GLYPH_MODE()

static vtkInformationIntegerKey* vtkScatterPlotPainter::GLYPH_MODE ( )
static

§ SCALING_ARRAY_MODE()

static vtkInformationIntegerKey* vtkScatterPlotPainter::SCALING_ARRAY_MODE ( )
static

§ SCALE_MODE()

static vtkInformationIntegerKey* vtkScatterPlotPainter::SCALE_MODE ( )
static

§ SCALE_FACTOR()

static vtkInformationDoubleKey* vtkScatterPlotPainter::SCALE_FACTOR ( )
static

§ ORIENTATION_MODE()

static vtkInformationIntegerKey* vtkScatterPlotPainter::ORIENTATION_MODE ( )
static

§ NESTED_DISPLAY_LISTS()

static vtkInformationIntegerKey* vtkScatterPlotPainter::NESTED_DISPLAY_LISTS ( )
static

§ PARALLEL_TO_CAMERA()

static vtkInformationIntegerKey* vtkScatterPlotPainter::PARALLEL_TO_CAMERA ( )
static

§ SetSourceGlyphMappers()

virtual void vtkScatterPlotPainter::SetSourceGlyphMappers ( vtkCollection *  )
virtual

§ GetSourceGlyphMappers()

virtual vtkCollection* vtkScatterPlotPainter::GetSourceGlyphMappers ( )
virtual

§ SetThreeDMode()

virtual void vtkScatterPlotPainter::SetThreeDMode ( int  )
protectedvirtual

Enable or not the third (z) coordinate for 3D rendering (instead of 2D).

Note: To work, the Z_Coords index array must be given.

§ GetThreeDMode()

virtual int vtkScatterPlotPainter::GetThreeDMode ( )
protectedvirtual

Enable or not the third (z) coordinate for 3D rendering (instead of 2D).

Note: To work, the Z_Coords index array must be given.

§ ThreeDModeOn()

virtual void vtkScatterPlotPainter::ThreeDModeOn ( )
protectedvirtual

Enable or not the third (z) coordinate for 3D rendering (instead of 2D).

Note: To work, the Z_Coords index array must be given.

§ ThreeDModeOff()

virtual void vtkScatterPlotPainter::ThreeDModeOff ( )
protectedvirtual

Enable or not the third (z) coordinate for 3D rendering (instead of 2D).

Note: To work, the Z_Coords index array must be given.

§ SetColorize()

virtual void vtkScatterPlotPainter::SetColorize ( int  )
protectedvirtual

Enable or not the color painting at each point.

Note: To work, the Color index array must be given.

§ GetColorize()

virtual int vtkScatterPlotPainter::GetColorize ( )
protectedvirtual

Enable or not the color painting at each point.

Note: To work, the Color index array must be given.

§ ColorizeOn()

virtual void vtkScatterPlotPainter::ColorizeOn ( )
protectedvirtual

Enable or not the color painting at each point.

Note: To work, the Color index array must be given.

§ ColorizeOff()

virtual void vtkScatterPlotPainter::ColorizeOff ( )
protectedvirtual

Enable or not the color painting at each point.

Note: To work, the Color index array must be given.

§ SetGlyphMode()

virtual void vtkScatterPlotPainter::SetGlyphMode ( int  )
protectedvirtual

Enable or not the Glyph representation at each point.

Note: To work, at least 1 Glyph polydata input must be set and the Glyph index array must be given.

§ GetGlyphMode()

virtual int vtkScatterPlotPainter::GetGlyphMode ( )
protectedvirtual

Enable or not the Glyph representation at each point.

Note: To work, at least 1 Glyph polydata input must be set and the Glyph index array must be given.

§ SetScalingArrayMode()

virtual void vtkScatterPlotPainter::SetScalingArrayMode ( int  )
protectedvirtual

If the GlyphMode has ScaledGlyph turned on, ScalingArrayMode describes how to data in the different GLYPH_[X,Y,Z]_SCALE arrays.

§ GetScalingArrayMode()

virtual int vtkScatterPlotPainter::GetScalingArrayMode ( )
protectedvirtual

If the GlyphMode has ScaledGlyph turned on, ScalingArrayMode describes how to data in the different GLYPH_[X,Y,Z]_SCALE arrays.

§ SetScaleMode()

virtual void vtkScatterPlotPainter::SetScaleMode ( int  )
protectedvirtual

If the GlyphMode has ScaledGlyph turned on, decide how to scale the glyph.

By Magnitude or components.

§ GetScaleMode()

virtual int vtkScatterPlotPainter::GetScaleMode ( )
protectedvirtual

If the GlyphMode has ScaledGlyph turned on, decide how to scale the glyph.

By Magnitude or components.

§ SetScaleFactor()

virtual void vtkScatterPlotPainter::SetScaleFactor ( double  )
protectedvirtual

Specify scale factor to scale object by.

This is used only when Scaling is On.

§ GetScaleFactor()

virtual double vtkScatterPlotPainter::GetScaleFactor ( )
protectedvirtual

Specify scale factor to scale object by.

This is used only when Scaling is On.

§ SetOrientationMode()

virtual void vtkScatterPlotPainter::SetOrientationMode ( int  )
protectedvirtual

§ GetOrientationMode()

virtual int vtkScatterPlotPainter::GetOrientationMode ( )
protectedvirtual

§ SetNestedDisplayLists()

virtual void vtkScatterPlotPainter::SetNestedDisplayLists ( int  )
protectedvirtual

If immediate mode is off, if Glyphs are in use and 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.

§ GetNestedDisplayLists()

virtual int vtkScatterPlotPainter::GetNestedDisplayLists ( )
protectedvirtual

If immediate mode is off, if Glyphs are in use and 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.

§ NestedDisplayListsOn()

virtual void vtkScatterPlotPainter::NestedDisplayListsOn ( )
protectedvirtual

If immediate mode is off, if Glyphs are in use and 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.

§ NestedDisplayListsOff()

virtual void vtkScatterPlotPainter::NestedDisplayListsOff ( )
protectedvirtual

If immediate mode is off, if Glyphs are in use and 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.

§ SetParallelToCamera()

virtual void vtkScatterPlotPainter::SetParallelToCamera ( int  )
protectedvirtual

§ GetParallelToCamera()

virtual int vtkScatterPlotPainter::GetParallelToCamera ( )
protectedvirtual

§ ParallelToCameraOn()

virtual void vtkScatterPlotPainter::ParallelToCameraOn ( )
protectedvirtual

§ ParallelToCameraOff()

virtual void vtkScatterPlotPainter::ParallelToCameraOff ( )
protectedvirtual

§ SetLookupTable()

virtual void vtkScatterPlotPainter::SetLookupTable ( vtkScalarsToColors *  )
protectedvirtual

§ GetLookupTable()

virtual vtkScalarsToColors* vtkScatterPlotPainter::GetLookupTable ( )
protectedvirtual

§ GetGlyphSource()

vtkPolyData* vtkScatterPlotPainter::GetGlyphSource ( int  id = 0)
protected

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

§ ReleaseGraphicsResources()

virtual void vtkScatterPlotPainter::ReleaseGraphicsResources ( vtkWindow *  window)
virtual

Release any graphics resources that are being consumed by this mapper.

The parameter window could be used to determine which graphic resources to release.

§ UpdateBounds()

virtual void vtkScatterPlotPainter::UpdateBounds ( double  bounds[6])
virtual

§ GetInputArrayInformation()

vtkInformation* vtkScatterPlotPainter::GetInputArrayInformation ( int  idx)

§ RenderInternal()

virtual void vtkScatterPlotPainter::RenderInternal ( vtkRenderer *  renderer,
vtkActor *  actor,
unsigned long  typeflags,
bool  forceCompileOnly 
)
protectedvirtual

Method initiates the mapping process.

Generally sent by the actor as each frame is rendered. Its behavior depends on the value of SelectMode. virtual void Render(vtkRenderer *ren, vtkActor *a);

§ ReportReferences()

virtual void vtkScatterPlotPainter::ReportReferences ( vtkGarbageCollector *  collector)
protectedvirtual

Take part in garbage collection.

§ ProcessInformation()

virtual void vtkScatterPlotPainter::ProcessInformation ( vtkInformation *  info)
protectedvirtual

Take part in garbage collection.

§ UpdatePainterInformation()

virtual void vtkScatterPlotPainter::UpdatePainterInformation ( )
protectedvirtual

Called when the PainterInformation becomes obsolete.

It is called before the Render is initiated on the Painter.

§ GetColors()

vtkUnsignedCharArray* vtkScatterPlotPainter::GetColors ( )
protected

Convenience methods to get each of the arrays.

§ PrepareForRendering()

virtual void vtkScatterPlotPainter::PrepareForRendering ( vtkRenderer *  renderer,
vtkActor *  actor 
)
protectedvirtual

§ RenderPoints()

void vtkScatterPlotPainter::RenderPoints ( vtkRenderer *  renderer,
vtkActor *  actor,
unsigned long  typeflags,
bool  forceCompileOnly 
)
protected

§ RenderGlyphs()

void vtkScatterPlotPainter::RenderGlyphs ( vtkRenderer *  renderer,
vtkActor *  actor,
unsigned long  typeflags,
bool  forceCompileOnly 
)
protected

§ ReleaseDisplayList()

void vtkScatterPlotPainter::ReleaseDisplayList ( )
protected

Release display list used for matrices and color.

Member Data Documentation

§ ThreeDMode

int vtkScatterPlotPainter::ThreeDMode
protected

Definition at line 218 of file vtkScatterPlotPainter.h.

§ Colorize

int vtkScatterPlotPainter::Colorize
protected

Definition at line 219 of file vtkScatterPlotPainter.h.

§ GlyphMode

int vtkScatterPlotPainter::GlyphMode
protected

Definition at line 220 of file vtkScatterPlotPainter.h.

§ ScaleFactor

double vtkScatterPlotPainter::ScaleFactor
protected

Definition at line 222 of file vtkScatterPlotPainter.h.

§ ScaleMode

int vtkScatterPlotPainter::ScaleMode
protected

Definition at line 223 of file vtkScatterPlotPainter.h.

§ ScalingArrayMode

int vtkScatterPlotPainter::ScalingArrayMode
protected

Definition at line 224 of file vtkScatterPlotPainter.h.

§ OrientationMode

int vtkScatterPlotPainter::OrientationMode
protected

Definition at line 225 of file vtkScatterPlotPainter.h.

§ NestedDisplayLists

int vtkScatterPlotPainter::NestedDisplayLists
protected

Definition at line 226 of file vtkScatterPlotPainter.h.

§ DisplayListId

unsigned int vtkScatterPlotPainter::DisplayListId
protected

Definition at line 227 of file vtkScatterPlotPainter.h.

§ ParallelToCamera

int vtkScatterPlotPainter::ParallelToCamera
protected

Definition at line 228 of file vtkScatterPlotPainter.h.

§ SourceGlyphMappers

vtkCollection* vtkScatterPlotPainter::SourceGlyphMappers
protected

Definition at line 231 of file vtkScatterPlotPainter.h.

§ ScalarsToColorsPainter

vtkScalarsToColorsPainter* vtkScatterPlotPainter::ScalarsToColorsPainter
protected

Definition at line 233 of file vtkScatterPlotPainter.h.

§ ColorPainterUpdateTime

vtkTimeStamp vtkScatterPlotPainter::ColorPainterUpdateTime
protected

Definition at line 234 of file vtkScatterPlotPainter.h.

§ BuildTime

vtkTimeStamp vtkScatterPlotPainter::BuildTime
protected

Definition at line 235 of file vtkScatterPlotPainter.h.

§ SelectionColorId

unsigned int vtkScatterPlotPainter::SelectionColorId
protected

Definition at line 237 of file vtkScatterPlotPainter.h.

§ SelectMode

int vtkScatterPlotPainter::SelectMode
protected

Definition at line 238 of file vtkScatterPlotPainter.h.

§ LookupTable

vtkScalarsToColors* vtkScatterPlotPainter::LookupTable
protected

Definition at line 240 of file vtkScatterPlotPainter.h.


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