ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
vtkScalarBarRepresentationCustom Class Reference

#include <vtkScalarBarRepresentationCustom.h>

Inheritance diagram for vtkScalarBarRepresentationCustom:
Collaboration diagram for vtkScalarBarRepresentationCustom:

Public Types

enum  {
  AnyLocation = 0 , LowerLeftCorner , LowerRightCorner , LowerCenter ,
  UpperLeftCorner , UpperRightCorner , UpperCenter
}
 

Public Member Functions

 vtkTypeMacro (vtkScalarBarRepresentationCustom, vtkScalarBarRepresentation) void PrintSelf(ostream &os
 
 vtkSetMacro (WindowLocation, int)
 
 vtkGetMacro (WindowLocation, int)
 
int RenderOverlay (vtkViewport *) override
 

Static Public Member Functions

static vtkScalarBarRepresentationCustomNew ()
 

Public Attributes

vtkIndent indent override
 

Protected Member Functions

 vtkScalarBarRepresentationCustom ()
 
 ~vtkScalarBarRepresentationCustom () override
 

Protected Attributes

int WindowLocation
 

Detailed Description

Definition at line 13 of file vtkScalarBarRepresentationCustom.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
AnyLocation 
LowerLeftCorner 
LowerRightCorner 
LowerCenter 
UpperLeftCorner 
UpperRightCorner 
UpperCenter 

Definition at line 22 of file vtkScalarBarRepresentationCustom.h.

Constructor & Destructor Documentation

◆ vtkScalarBarRepresentationCustom()

vtkScalarBarRepresentationCustom::vtkScalarBarRepresentationCustom ( )
protected

Definition at line 27 of file vtkScalarBarRepresentationCustom.cpp.

References AnyLocation, and WindowLocation.

◆ ~vtkScalarBarRepresentationCustom()

vtkScalarBarRepresentationCustom::~vtkScalarBarRepresentationCustom ( )
overrideprotected

Definition at line 32 of file vtkScalarBarRepresentationCustom.cpp.

Member Function Documentation

◆ New()

static vtkScalarBarRepresentationCustom* vtkScalarBarRepresentationCustom::New ( )
static

◆ RenderOverlay()

int vtkScalarBarRepresentationCustom::RenderOverlay ( vtkViewport *  viewport)
override

Override to obtain viewport size and potentially adjust placement of the representation.

Definition at line 35 of file vtkScalarBarRepresentationCustom.cpp.

References AnyLocation, context, vtkContext2DScalarBarActor::GetBoundingRect(), LowerCenter, LowerLeftCorner, LowerRightCorner, UpperCenter, UpperLeftCorner, UpperRightCorner, WindowLocation, x, and y.

◆ vtkGetMacro()

vtkScalarBarRepresentationCustom::vtkGetMacro ( WindowLocation  ,
int   
)

◆ vtkSetMacro()

vtkScalarBarRepresentationCustom::vtkSetMacro ( WindowLocation  ,
int   
)

Set the scalar bar position, by enumeration ( AnyLocation = 0, LowerLeftCorner, LowerRightCorner, LowerCenter, UpperLeftCorner, UpperRightCorner, UpperCenter) related to the render window.

◆ vtkTypeMacro()

vtkScalarBarRepresentationCustom::vtkTypeMacro ( vtkScalarBarRepresentationCustom  ,
vtkScalarBarRepresentation   
) &

Member Data Documentation

◆ override

vtkIndent indent vtkScalarBarRepresentationCustom::override

Definition at line 19 of file vtkScalarBarRepresentationCustom.h.

◆ WindowLocation

int vtkScalarBarRepresentationCustom::WindowLocation
protected

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