Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::plot::Axis3DProcessorHelper Class Reference

Public Types

enum class  AxisRangeMode : unsigned char {
  Dims , Basis , BasisOffset , World ,
  DataBoundingBox , ModelBoundingBox , WorldBoundingBox , Custom
}
enum class  DimsRangeMode : std::uint8_t { No , Yes }
enum class  OffsetScaling : unsigned char {
  None , MinExtent , MaxExtent , MeanExtent ,
  Diagonal
}

Public Member Functions

void adjustRanges (const SpatialEntity *entity)
void adjustScalingFactor (const SpatialEntity *entity=nullptr)
 Axis3DProcessorHelper (std::function< std::optional< mat4 >()> getBoundingBox, DimsRangeMode useDimsRange=DimsRangeMode::No)
auto props ()
auto props () const
void renderAxes (size2_t outputDims, const SpatialEntity &entity)

Public Attributes

FloatProperty axisOffset_
std::array< AxisRenderer3D, 3 > axisRenderers_
AxisStyleProperty axisStyle_
CameraProperty camera_
CompositeProperty customRanges_
OptionProperty< OffsetScaling > offsetScaling_
OptionPropertyString presets_
OptionProperty< AxisRangeMode > rangeMode_
DoubleMinMaxProperty rangeXaxis_
DoubleMinMaxProperty rangeYaxis_
DoubleMinMaxProperty rangeZaxis_
CameraTrackball trackball_
BoolCompositeProperty visibility_
std::array< BoolProperty, 12 > visibleAxes_
AxisProperty xAxis_
AxisProperty yAxis_
AxisProperty zAxis_

Protected Member Functions

dmat4 getDataToWorldMatrix (const SpatialEntity &entity) const

Protected Attributes

std::optional< std::function< std::optional< mat4 >()> > getBoundingBox_
bool propertyUpdate_

The documentation for this class was generated from the following file:
  • modules/plottinggl/include/modules/plottinggl/utils/axis3dprocessorhelper.h