# RtScaleSnapperInfo Struct Reference

List of all members.

## Public Attributes
RtUlong | dwDimension
RtVector3f | vtAxes [3]
RtFloat | fSteps [3]
RtVector3f | ptInitialScale
RtPoint | ptActualScale
RtMatrixf | mCoordSys
RtMatrixf | mCoordSysInv
RtScaleSnapMode | mSelectionMode
RtUlong | dwSkipElements
RtPoint | ptScaleCenter

## Detailed Description

Structure that holds snapping information that user needs to fill when calling snapper manager.

## Member Data Documentation

RtUlong RtScaleSnapperInfo::dwDimension

Defines dimension of scale space. When calling snapping manager, this can be set to 3 to allow full 3D scaling in all directions. After calling calculation of constraints space, tool can call IRsScaleSnappingManager::RemoveSoftConstraints to remove all soft constraints and to get projection of 3D space to approximately soft constrained space.

RtVector3f RtScaleSnapperInfo::vtAxes[3]

Defines orthonormal basis of scaling space.

RtFloat RtScaleSnapperInfo::fSteps[3]

Defines scale steps for each axis.

RtVector3f RtScaleSnapperInfo::ptInitialScale

Defines initial scaling. this is usually 1,1,1 as by default there is no scale...

RtPoint RtScaleSnapperInfo::ptActualScale

Current non-snapped scale for snapping.

RtMatrixf RtScaleSnapperInfo::mCoordSys

Selected coordinate system. This can be used for tools that depend on selected coordinate system.

RtMatrixf RtScaleSnapperInfo::mCoordSysInv

Inverse coordinate system, provided for tool convinience.

RtScaleSnapMode RtScaleSnapperInfo::mSelectionMode

Enable to allow using selections to perform snapping on selected elements level

RtUlong RtScaleSnapperInfo::dwSkipElements

Element types caller wish to be ignored for snapping.

RtPoint RtScaleSnapperInfo::ptScaleCenter

Center for scaling.